~lfaraone/ubuntu/lucid/python-lamson/lp548998

« back to all changes in this revision

Viewing changes to examples/librelist/config/logging.conf

  • Committer: Bazaar Package Importer
  • Author(s): David Watson
  • Date: 2009-08-21 14:45:16 UTC
  • Revision ID: james.westby@ubuntu.com-20090821144516-08tp9e4pyl4t493y
Tags: upstream-1.0pre2
ImportĀ upstreamĀ versionĀ 1.0pre2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[loggers]
 
2
keys=root,routing
 
3
 
 
4
[handlers]
 
5
keys=fileHandler
 
6
 
 
7
[formatters]
 
8
keys=defaultFormatter
 
9
 
 
10
[logger_root]
 
11
level=DEBUG
 
12
handlers=fileHandler
 
13
 
 
14
[logger_routing]
 
15
level=DEBUG
 
16
handlers=fileHandler
 
17
qualname=routing
 
18
propagate=0
 
19
 
 
20
[handler_fileHandler]
 
21
# this works using FileHandler
 
22
class=FileHandler
 
23
# If you have Python2.6 you can use this and it will work when you use logrotate
 
24
#class=WatchedFileHandler
 
25
level=DEBUG
 
26
formatter=defaultFormatter
 
27
args=("logs/lamson.log",)
 
28
 
 
29
[formatter_defaultFormatter]
 
30
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
 
31
datefmt=