~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): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

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.cgi) will have this:
 
3
Typically, your server adaptor script (e.g. moin.wsgi) 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
 
CGI
 
20
WSGI
21
21
---
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
 
22
You need to edit the moin.wsgi that your webserver runs.
26
23
 
27
24
You can make very flexible and powerful logging configurations using this
28
25
mechanism, for more details see: