2013-04-11 13:37:07 +09:00
|
|
|
[loggers]
|
2014-02-24 10:13:58 +01:00
|
|
|
keys=root,tempest_stress
|
2013-04-11 13:37:07 +09:00
|
|
|
|
|
|
|
[handlers]
|
2014-02-24 10:13:58 +01:00
|
|
|
keys=file,devel,syslog
|
2013-04-18 17:49:17 +09:00
|
|
|
|
|
|
|
[formatters]
|
2014-02-24 10:13:58 +01:00
|
|
|
keys=simple,tests
|
2013-04-11 13:37:07 +09:00
|
|
|
|
|
|
|
[logger_root]
|
2013-04-18 17:49:17 +09:00
|
|
|
level=DEBUG
|
2013-04-11 13:37:07 +09:00
|
|
|
handlers=file
|
|
|
|
|
2013-08-08 09:21:46 +02:00
|
|
|
[logger_tempest_stress]
|
2014-02-24 10:13:58 +01:00
|
|
|
level=DEBUG
|
2013-08-08 09:21:46 +02:00
|
|
|
handlers=file,devel
|
|
|
|
qualname=tempest.stress
|
|
|
|
|
2013-04-11 13:37:07 +09:00
|
|
|
[handler_file]
|
|
|
|
class=FileHandler
|
|
|
|
level=DEBUG
|
2014-02-24 10:13:58 +01:00
|
|
|
args=('tempest.log', 'w+')
|
2013-04-18 17:49:17 +09:00
|
|
|
formatter=tests
|
2013-04-11 13:37:07 +09:00
|
|
|
|
2013-04-18 17:49:17 +09:00
|
|
|
[handler_syslog]
|
|
|
|
class=handlers.SysLogHandler
|
|
|
|
level=ERROR
|
|
|
|
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
|
|
|
|
|
2013-04-11 13:37:07 +09:00
|
|
|
[handler_devel]
|
|
|
|
class=StreamHandler
|
|
|
|
level=DEBUG
|
|
|
|
args=(sys.stdout,)
|
2014-02-24 10:13:58 +01:00
|
|
|
formatter=simple
|
2013-04-11 13:37:07 +09:00
|
|
|
|
2013-04-18 17:49:17 +09:00
|
|
|
[formatter_tests]
|
2015-04-29 17:15:32 +02:00
|
|
|
class = oslo_log.formatters.ContextFormatter
|
2014-02-24 10:13:58 +01:00
|
|
|
|
|
|
|
[formatter_simple]
|
|
|
|
format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s
|