view wikiserverlogging.conf @ 5773:34fb41293eab

fix moin export dump to generate relative URLs (thanks to Emilio Lopes for the patch) Internal links in exported html were incorrectly generated as absolute paths. export dump worked fine with 1.8 but no longer with 1.9.x.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 29 Mar 2011 09:00:00 +0200
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