diff wiki/config/logging/logfile @ 3109:4cd113328476

make logging not crash, more config samples
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 24 Feb 2008 12:50:54 +0100
parents 80e1a910a2f1
children 79f850129782
line wrap: on
line diff
--- a/wiki/config/logging/logfile	Sat Feb 23 23:40:48 2008 +0100
+++ b/wiki/config/logging/logfile	Sun Feb 24 12:50:54 2008 +0100
@@ -3,7 +3,7 @@
         # Make sure the running moin process has create/write rights there.
         'logdir': '/path/to/logdir',
         # Default loglevel, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
-        'loglevel': 'DEBUG',
+        'loglevel': 'INFO',
     }
     logging_config = """\
 [loggers]
@@ -20,7 +20,7 @@
 handlers=logfile
 
 [handler_logfile]
-class=StreamHandler
+class=FileHandler
 formatter=logfile
 level=%(loglevel)s
 args=('%(logdir)s/moin.log', 'at')