blob: 3b468f13e6e668cef5675c312842fa8738623763 [file] [log] [blame]
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09001[loggers]
Marc Kodererb714de52013-08-08 09:21:46 +02002keys=root,tempest,tempest_stress
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09003
4[handlers]
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +09005keys=file,syslog,devel
6
7[formatters]
8keys=default,tests
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09009
10[logger_root]
11level=NOTSET
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090012handlers=syslog
13
14[logger_tempest]
15level=DEBUG
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090016handlers=file
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090017qualname=tempest
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090018
Marc Kodererb714de52013-08-08 09:21:46 +020019[logger_tempest_stress]
20level=INFO
21handlers=file,devel
22qualname=tempest.stress
23
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090024[handler_file]
25class=FileHandler
26level=DEBUG
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090027formatter=tests
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090028args=('tempest.log', 'w')
29
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090030[handler_syslog]
31class=handlers.SysLogHandler
32level=ERROR
33formatter = default
34args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
35
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090036[handler_devel]
37class=StreamHandler
38level=DEBUG
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090039formatter=default
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090040args=(sys.stdout,)
41
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090042[formatter_default]
43format=%(name)s: %(levelname)s: %(message)s
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090044
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090045[formatter_tests]
46class = tempest.common.log.TestsFormatter