tempest/etc/logging.conf.sample
Marc Koderer b714de586f Change logging in stress test
Stress tests is now using the default tempest logging in order to use
tempest.conf for configuration. Every action registers a logger for
their own (previously they reported always as "stresstest").

Cleanup function is adapted as well.

Implements: bp stress-tests

Change-Id: I571d4b1ad7ced62b5d5b3e7faf8fa1a7e5f9504e
2013-08-08 15:10:29 +02:00

47 lines
728 B
Plaintext

[loggers]
keys=root,tempest,tempest_stress
[handlers]
keys=file,syslog,devel
[formatters]
keys=default,tests
[logger_root]
level=NOTSET
handlers=syslog
[logger_tempest]
level=DEBUG
handlers=file
qualname=tempest
[logger_tempest_stress]
level=INFO
handlers=file,devel
qualname=tempest.stress
[handler_file]
class=FileHandler
level=DEBUG
formatter=tests
args=('tempest.log', 'w')
[handler_syslog]
class=handlers.SysLogHandler
level=ERROR
formatter = default
args = ('/dev/log', handlers.SysLogHandler.LOG_USER)
[handler_devel]
class=StreamHandler
level=DEBUG
formatter=default
args=(sys.stdout,)
[formatter_default]
format=%(name)s: %(levelname)s: %(message)s
[formatter_tests]
class = tempest.common.log.TestsFormatter