view wiki/config/logging/README @ 3111:79f850129782

logging: fix server scripts to load logging config, fix logging configs
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Feb 2008 14:01:08 +0100
parents 80e1a910a2f1
children cd43bbf56c33
line wrap: on
line source

In this directory is a collection of pre-made logging configuration files.

You can use them like this:

from MoinMoin import log

This is usually located somewhere at the begging of the server script you use,
e.g. in moin.cgi, if you use cgi.

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.cgi that your webserver runs.

CGI / Apache: use the stderr configuration, stuff will go to apache error.log
CGI / IIS: use the logfile configuration and edit the logfile path

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