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

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: johannes
Date: 2007-09-27 07:38:00 -0500 (Thu, 27 Sep 2007)
New Revision: 9787

Modified:
   trunk/gnue-common/src/base/log.py
Log:
Set log level of root logger to DEBUG if no log.conf is available

issue123 in-progress



Modified: trunk/gnue-common/src/base/log.py
===================================================================
--- trunk/gnue-common/src/base/log.py	2007-09-27 12:37:18 UTC (rev 9786)
+++ trunk/gnue-common/src/base/log.py	2007-09-27 12:38:00 UTC (rev 9787)
@@ -623,6 +623,7 @@
     logging.config.fileConfig(_CONFIG_FILES)
 else:
     logging.basicConfig()
+    logging.getLogger().setLevel(logging.DEBUG)
 
 # 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.