view wikiserverlogging.conf @ 5794:00f1ec630fe0

google import - use same license phrase as all other code (23:02) < ThomasWal> xorAxAx: you should change the license of the google import code so it uses same licensing as moin (23:03) < ThomasWal> (currently it tells "GPL v2", moin is "GPL v2+") (23:05) < xorAxAx> ThomasWaldmann: its fine if you change it
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Nov 2011 23:12:47 +0100
parents ff4afe930cb2
children f029e42ecdec
line wrap: on
line source
# This is the standalone wikiserver logging configuration.
# It can be easily modified to help when debugging, see the comments.
# Available loglevels, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL

[DEFAULT]
logfile=moin.log

[loggers]
keys=root,moin_debug

[logger_root]
level=INFO
handlers=stderr

[logger_moin_debug]
# adapt the next lines to your debugging needs:
level=INFO
handlers=stderr
qualname=MoinMoin.auth
propagate=0

[handlers]
#keys=logfile,stderr
keys=stderr

[handler_logfile]
class=FileHandler
formatter=default
level=DEBUG
args=('%(logfile)s', 'at')

[handler_stderr]
class=StreamHandler
formatter=default
level=DEBUG
args=(sys.stderr, )

[formatters]
keys=default

[formatter_default]
format=%(asctime)s %(levelname)s %(name)s:%(lineno)d %(message)s
datefmt=
class=logging.Formatter