diff MoinMoin/util/moinoid.py @ 3110:a48929a5036c

logging: make it work correctly by doing logging configuration very early
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Feb 2008 03:41:39 +0100
parents c6e39279f83b
children 817d99d715fe
line wrap: on
line diff
--- a/MoinMoin/util/moinoid.py	Sun Feb 24 12:50:54 2008 +0100
+++ b/MoinMoin/util/moinoid.py	Mon Feb 25 03:41:39 2008 +0100
@@ -16,11 +16,8 @@
 
 from MoinMoin import caching
 
-from MoinMoin.server import getLogger
-logging = getLogger(__name__)
-
-# use this to temporarily and selectively enable debug logging for this module
-#logging.setLevel(logging.DEBUG)
+from MoinMoin import log
+logging = log.getLogger(__name__)
 
 # redirect openid logging to moin log
 def log(msg, level=0):