diff MoinMoin/log.py @ 4478:66e11e4ce6df

make logging handlers defined in logging.handlers work (e.g. class=handlers.RotatingFileHandler)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Jan 2009 20:49:20 +0100
parents fea6b6afce05
children 3f0bc26f3d5a
line wrap: on
line diff
--- a/MoinMoin/log.py	Wed Dec 10 11:09:30 2008 +0100
+++ b/MoinMoin/log.py	Tue Jan 06 20:49:20 2009 +0100
@@ -88,7 +88,9 @@
 """
 
 import os
-import logging, logging.config
+import logging
+import logging.config
+import logging.handlers  # needed for handlers defined there being configurable in logging.conf file
 
 configured = False
 fallback_config = False