view wikiserverlogging.conf @ 6023:7e3e406f21d9

introduce a new caching scope "userdir" Needed this because none of the existing scopes is usable for caching data related to the data that is contained in the user_dir (user profiles). This is a problem for shared user_dir scenarios, when multiple wikis share the same user_dir. This is common in farm setups with single-sign-on. "farm" scope can't be used though as not all farm wikis are required to share the users. Also, non-farm setups may also have shared user_dir. Thus, best is to have this new caching scope (and even have it stored inside the user_dir directory, so it is automatically the "right" directory without needing further configuration). Having the "cache" directory inside the user_dir is no issue as the user profiles follow a specific naming pattern and we filter for that pattern.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 11 Feb 2014 16:18: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