changeset 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 956f6f4aa936
children 3f0bc26f3d5a af8cea9bfcda
files MoinMoin/log.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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