view wiki/config/logging/README @ 5952:f6a74810da73

updated CHANGES
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 10 Mar 2013 15:28:04 +0100
parents 1867cbc59013
line wrap: on
line source
In this directory is a collection of pre-made logging configuration files.

Typically, your server adaptor script (e.g. moin.wsgi) will have this:

from MoinMoin import log
log.load_config('wiki/config/logging/logfile') # XXX please fix this path!

You have to fix that path to use a logging configuration matching your
needs (we provide some examples in the path given there, it is relative to
the uncompressed moin distribution archive - if you use some moin package,
you maybe find it under /usr/share/moin/).

It is likely that you also have to edit the sample logging configurations
we provide (e.g. to fix the logfile location).

If you don't configure logging using those lines, moin will use some built-in
logging configuration (which might be correct for some cases, but incorrect
for some other cases, so be careful!).

You need to edit the moin.wsgi that your webserver runs.

You can make very flexible and powerful logging configurations using this
mechanism, for more details see: