tempest/etc/logging.conf.sample
Peter Sabaini de28ce7bdb Fix logging.conf sample
Use formatter from oslo_log instead of tempest.openstack.common.log
which got removed as of 583ce2c043

Change-Id: I0d9334c51d50f649fdb7e34fd7c2f3d807b80601
2015-04-29 17:15:32 +02:00

41 lines
664 B
Plaintext

[loggers]
keys=root,tempest_stress
[handlers]
keys=file,devel,syslog
[formatters]
keys=simple,tests
[logger_root]
level=DEBUG
handlers=file
[logger_tempest_stress]
level=DEBUG
handlers=file,devel
qualname=tempest.stress
[handler_file]
class=FileHandler
level=DEBUG
args=('tempest.log', 'w+')
formatter=tests
[handler_syslog]
class=handlers.SysLogHandler
level=ERROR
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
[handler_devel]
class=StreamHandler
level=DEBUG
args=(sys.stdout,)
formatter=simple
[formatter_tests]
class = oslo_log.formatters.ContextFormatter
[formatter_simple]
format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s