~ubuntu-branches/debian/sid/keystone/sid

« back to all changes in this revision

Viewing changes to .pc/logging.conf.patch/etc/logging.conf.sample

  • Committer: Package Import Robot
  • Author(s): Ghe Rivero
  • Date: 2012-06-22 09:41:24 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120622094124-bc3xfo1nkhg1wvo0
Tags: 2012.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[loggers]
 
2
keys=root
 
3
 
 
4
[formatters]
 
5
keys=normal,normal_with_name,debug
 
6
 
 
7
[handlers]
 
8
keys=production,file,devel
 
9
 
 
10
[logger_root]
 
11
level=WARNING
 
12
handlers=file
 
13
 
 
14
[handler_production]
 
15
class=handlers.SysLogHandler
 
16
level=ERROR
 
17
formatter=normal_with_name
 
18
args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
 
19
 
 
20
[handler_file]
 
21
class=FileHandler
 
22
level=DEBUG
 
23
formatter=normal_with_name
 
24
args=('keystone.log', 'a')
 
25
 
 
26
[handler_devel]
 
27
class=StreamHandler
 
28
level=NOTSET
 
29
formatter=debug
 
30
args=(sys.stdout,)
 
31
 
 
32
[formatter_normal]
 
33
format=%(asctime)s %(levelname)s %(message)s
 
34
 
 
35
[formatter_normal_with_name]
 
36
format=(%(name)s): %(asctime)s %(levelname)s %(message)s
 
37
 
 
38
[formatter_debug]
 
39
format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s