~hopem/charms/trusty/keystone/fix-pki-token-support.2

« back to all changes in this revision

Viewing changes to templates/essex/logging.conf

  • Committer: Edward Hope-Morley
  • Date: 2015-02-24 11:57:47 UTC
  • mfrom: (114.2.9 keystone)
  • Revision ID: edward.hope-morley@canonical.com-20150224115747-2w4c121gbdrelz4l
synced /next

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=('/var/log/keystone/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