6cfbfe74ac8a129f653cc4d9ebb3de8afaaf8315
[matthijs/projects/wipi.git] / logging.conf.tmpl
1 # Copy this file to logging.conf and update the logfile path below.
2
3 [DEFAULT]
4 logfile=/tmp/moin.log
5
6 # Default loglevel, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
7 loglevel=INFO
8
9 [loggers]
10 keys=root
11
12 [handlers]
13 keys=logfile
14
15 [formatters]
16 keys=logfile
17
18 [logger_root]
19 level=%(loglevel)s
20 handlers=logfile
21
22 [handler_logfile]
23 class=FileHandler
24 formatter=logfile
25 level=%(loglevel)s
26 args=('%(logfile)s', 'at')
27
28 [formatter_logfile]
29 format=%(asctime)s %(name)s %(levelname)s %(message)s
30 datefmt=
31 class=logging.Formatter