blob: cdeedef76c7a58a47ec17a0715c08802dbbbfe66 [file] [log] [blame]
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09001[loggers]
Attila Fazekas54236ee2014-02-24 10:13:58 +01002keys=root,tempest_stress
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09003
4[handlers]
Attila Fazekas54236ee2014-02-24 10:13:58 +01005keys=file,devel,syslog
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +09006
7[formatters]
Attila Fazekas54236ee2014-02-24 10:13:58 +01008keys=simple,tests
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09009
10[logger_root]
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090011level=DEBUG
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090012handlers=file
13
Marc Kodererb714de52013-08-08 09:21:46 +020014[logger_tempest_stress]
Attila Fazekas54236ee2014-02-24 10:13:58 +010015level=DEBUG
Marc Kodererb714de52013-08-08 09:21:46 +020016handlers=file,devel
17qualname=tempest.stress
18
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090019[handler_file]
20class=FileHandler
21level=DEBUG
Attila Fazekas54236ee2014-02-24 10:13:58 +010022args=('tempest.log', 'w+')
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090023formatter=tests
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090024
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090025[handler_syslog]
26class=handlers.SysLogHandler
27level=ERROR
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090028args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
29
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090030[handler_devel]
31class=StreamHandler
32level=DEBUG
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090033args=(sys.stdout,)
Attila Fazekas54236ee2014-02-24 10:13:58 +010034formatter=simple
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090035
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090036[formatter_tests]
Attila Fazekas54236ee2014-02-24 10:13:58 +010037class = tempest.openstack.common.log.ContextFormatter
38
39[formatter_simple]
40format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s