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

« back to all changes in this revision

Viewing changes to wiki/config/logging/logfile

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[DEFAULT]
 
2
# Logfile to create.
 
3
# Make sure the running moin process has create/write rights there.
 
4
logfile=/tmp/moin.log
 
5
 
 
6
# Default loglevel, to adjust verbosity: DEBUG, INFO, WARNING, ERROR, CRITICAL
 
7
loglevel=INFO
 
8
 
 
9
[loggers]
 
10
keys=root
 
11
 
 
12
[handlers]
 
13
keys=logfile
 
14
 
 
15
[formatters]
 
16
keys=logfile
 
17
 
 
18
[logger_root]
 
19
level=%(loglevel)s
 
20
handlers=logfile
 
21
 
 
22
[handler_logfile]
 
23
class=FileHandler
 
24
formatter=logfile
 
25
level=%(loglevel)s
 
26
args=('%(logfile)s', 'at')
 
27
 
 
28
[formatter_logfile]
 
29
format=%(asctime)s %(name)s %(levelname)s %(message)s
 
30
datefmt=
 
31
class=logging.Formatter
 
32