]> review.fuel-infra Code Review - openstack-build/cinder-build.git/blob - trusty/debian/logging.conf
Recovery cinder-volume-vmware init files
[openstack-build/cinder-build.git] / trusty / debian / logging.conf
1 [loggers]
2 keys = root, cinder
3
4 [handlers]
5 keys = stderr, stdout, watchedfile, syslog, null
6
7 [formatters]
8 keys = legacycinder, default
9
10 [logger_root]
11 level = WARNING
12 handlers = null
13
14 [logger_cinder]
15 level = INFO
16 handlers = stderr
17 qualname = cinder
18
19 [logger_amqplib]
20 level = WARNING
21 handlers = stderr
22 qualname = amqplib
23
24 [logger_sqlalchemy]
25 level = WARNING
26 handlers = stderr
27 qualname = sqlalchemy
28 # "level = INFO" logs SQL queries.
29 # "level = DEBUG" logs SQL queries and results.
30 # "level = WARNING" logs neither.  (Recommended for production systems.)
31
32 [logger_boto]
33 level = WARNING
34 handlers = stderr
35 qualname = boto
36
37 [logger_suds]
38 level = INFO
39 handlers = stderr
40 qualname = suds
41
42 [logger_eventletwsgi]
43 level = WARNING
44 handlers = stderr
45 qualname = eventlet.wsgi.server
46
47 [handler_stderr]
48 class = StreamHandler
49 args = (sys.stderr,)
50 formatter = legacycinder
51
52 [handler_stdout]
53 class = StreamHandler
54 args = (sys.stdout,)
55 formatter = legacycinder
56
57 [handler_watchedfile]
58 class = handlers.WatchedFileHandler
59 args = ('cinder.log',)
60 formatter = legacycinder
61
62 [handler_syslog]
63 class = handlers.SysLogHandler
64 args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
65 formatter = legacycinder
66
67 [handler_null]
68 class = cinder.log.NullHandler
69 formatter = default
70 args = ()
71
72 [formatter_legacycinder]
73 class = cinder.log.LegacyCinderFormatter
74
75 [formatter_default]
76 format = %(message)s