[gnue] r9941 - trunk/gnue-common/src/base

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2009-10-07 10:05:28 -0500 (Wed, 07 Oct 2009)
New Revision: 9941

Modified:
   trunk/gnue-common/src/base/log.py
Log:
If there is no logger configuration file, show only messages with severity
WARNING and up.


Modified: trunk/gnue-common/src/base/log.py
===================================================================
--- trunk/gnue-common/src/base/log.py	2009-10-06 15:23:33 UTC (rev 9940)
+++ trunk/gnue-common/src/base/log.py	2009-10-07 15:05:28 UTC (rev 9941)
@@ -764,7 +764,7 @@
         logging.config.fileConfig(config_files)
     else:
         logging.basicConfig()
-        logging.getLogger().setLevel(logging.DEBUG)
+        logging.getLogger().setLevel(logging.WARNING)
 
     # Use our exception hook.
     sys.excepthook = excepthook
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.