blob: c131b07facc12700935f93e25fbb22a79a1ffb16 [file] [log] [blame]
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +09001[loggers]
Jordan Pittier2e7ae7c2016-10-03 11:00:22 +02002keys=root
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
14[handler_file]
15class=FileHandler
16level=DEBUG
Attila Fazekas54236ee2014-02-24 10:13:58 +010017args=('tempest.log', 'w+')
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090018formatter=tests
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090019
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090020[handler_syslog]
21class=handlers.SysLogHandler
22level=ERROR
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090023args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
24
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090025[handler_devel]
26class=StreamHandler
27level=DEBUG
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090028args=(sys.stdout,)
Attila Fazekas54236ee2014-02-24 10:13:58 +010029formatter=simple
Mitsuhiko Yamazaki6ffa59c2013-04-11 13:37:07 +090030
Mitsuhiko Yamazaki46818aa2013-04-18 17:49:17 +090031[formatter_tests]
Peter Sabainide28ce72015-04-29 17:15:32 +020032class = oslo_log.formatters.ContextFormatter
Attila Fazekas54236ee2014-02-24 10:13:58 +010033
34[formatter_simple]
35format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s