Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 1 | [loggers] |
Jordan Pittier | 2e7ae7c | 2016-10-03 11:00:22 +0200 | [diff] [blame] | 2 | keys=root |
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 3 | |
4 | [handlers] | ||||
Attila Fazekas | 54236ee | 2014-02-24 10:13:58 +0100 | [diff] [blame] | 5 | keys=file,devel,syslog |
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 6 | |
7 | [formatters] | ||||
Attila Fazekas | 54236ee | 2014-02-24 10:13:58 +0100 | [diff] [blame] | 8 | keys=simple,tests |
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 9 | |
10 | [logger_root] | ||||
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 11 | level=DEBUG |
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 12 | handlers=file |
13 | |||||
14 | [handler_file] | ||||
15 | class=FileHandler | ||||
16 | level=DEBUG | ||||
Attila Fazekas | 54236ee | 2014-02-24 10:13:58 +0100 | [diff] [blame] | 17 | args=('tempest.log', 'w+') |
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 18 | formatter=tests |
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 19 | |
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 20 | [handler_syslog] |
21 | class=handlers.SysLogHandler | ||||
22 | level=ERROR | ||||
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 23 | args = ('/dev/log', handlers.SysLogHandler.LOG_USER) |
24 | |||||
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 25 | [handler_devel] |
26 | class=StreamHandler | ||||
27 | level=DEBUG | ||||
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 28 | args=(sys.stdout,) |
Attila Fazekas | 54236ee | 2014-02-24 10:13:58 +0100 | [diff] [blame] | 29 | formatter=simple |
Mitsuhiko Yamazaki | 6ffa59c | 2013-04-11 13:37:07 +0900 | [diff] [blame] | 30 | |
Mitsuhiko Yamazaki | 46818aa | 2013-04-18 17:49:17 +0900 | [diff] [blame] | 31 | [formatter_tests] |
Peter Sabaini | de28ce7 | 2015-04-29 17:15:32 +0200 | [diff] [blame] | 32 | class = oslo_log.formatters.ContextFormatter |
Attila Fazekas | 54236ee | 2014-02-24 10:13:58 +0100 | [diff] [blame] | 33 | |
34 | [formatter_simple] | ||||
35 | format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s |