If callers/importers of logging_config want to debug/log the module
initialization, they can set up logging themselves. Not every user of
the autotest modules want log messages to suddenly be logged to stderr
just because some autotest modules were imported.

Signed-off-by: Eduardo Habkost <[email protected]>
---
 client/shared/logging_config.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/client/shared/logging_config.py b/client/shared/logging_config.py
index ffaeffa..7b3edf8 100644
--- a/client/shared/logging_config.py
+++ b/client/shared/logging_config.py
@@ -3,11 +3,6 @@ from autotest.client.shared import global_config
 
 GLOBAL_CONFIG = global_config.global_config
 
-# set up a simple catchall configuration for use during import time.  some code
-# may log messages at import time and we don't want those to get completely
-# thrown away.  we'll clear this out when actual configuration takes place.
-logging.basicConfig(level=logging.DEBUG)
-
 class AllowBelowSeverity(logging.Filter):
     """
     Allows only records less severe than a given level (the opposite of what
-- 
1.8.1

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to