
This PS: * adds a trap to clean up OSH which is deployed in the course of integration tests. It appears as though node cleanup in Jenkins is hanging so this is to try to ameliorate that * creates a deckhand.conf.test to be used by functional and integration tests instead of writing it out dynamically [0] * updates logging.conf.sample to dump logs to stdout/stderr by default as this is amenable to containers * makes test_gabbi.py common between functional and integration tests to avoid unnecessary code duplication [0] review comments in https://review.gerrithub.io/#/c/att-comdev/deckhand/+/407638/ Change-Id: I762fb0bde5f75effcde56316d92bd57b30026995
43 lines
674 B
Plaintext
43 lines
674 B
Plaintext
[loggers]
|
|
keys = root, deckhand, error
|
|
|
|
[handlers]
|
|
keys = null, stderr, stdout
|
|
|
|
[formatters]
|
|
keys = simple, context
|
|
|
|
[logger_deckhand]
|
|
level = DEBUG
|
|
handlers = stdout
|
|
qualname = deckhand
|
|
|
|
[logger_error]
|
|
level = ERROR
|
|
handlers = stderr
|
|
|
|
[logger_root]
|
|
level = WARNING
|
|
handlers = null
|
|
|
|
[handler_stderr]
|
|
class = StreamHandler
|
|
args = (sys.stderr,)
|
|
formatter = context
|
|
|
|
[handler_stdout]
|
|
class = StreamHandler
|
|
args = (sys.stdout,)
|
|
formatter = context
|
|
|
|
[handler_null]
|
|
class = logging.NullHandler
|
|
formatter = context
|
|
args = ()
|
|
|
|
[formatter_context]
|
|
class = oslo_log.formatters.ContextFormatter
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s.%(msecs)03d %(process)d %(levelname)s: %(message)s
|