~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/config/logging/README

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
In this directory is a collection of pre-made logging configuration files.
2
2
 
3
 
Typically, your server adaptor script (e.g. moin.wsgi) will have this:
 
3
Typically, your server adaptor script (e.g. moin.cgi) will have this:
4
4
 
5
5
from MoinMoin import log
6
6
log.load_config('wiki/config/logging/logfile') # XXX please fix this path!
17
17
logging configuration (which might be correct for some cases, but incorrect
18
18
for some other cases, so be careful!).
19
19
 
20
 
WSGI
 
20
CGI
21
21
---
22
 
You need to edit the moin.wsgi that your webserver runs.
 
22
You need to edit the moin.cgi that your webserver runs.
 
23
 
 
24
CGI / Apache: use the stderr configuration, stuff will go to apache error.log
 
25
CGI / IIS: use the logfile configuration and edit the logfile path
23
26
 
24
27
You can make very flexible and powerful logging configurations using this
25
28
mechanism, for more details see: