nodepool/playbooks/nodepool-functional-openstack/templates/logging.conf.j2
Clark Boylan 7625ef6908 Add nodepool_debug flag to openstack functional jobs
This flag when set to true will enable debug logging in the nodepool
services (builder and launcher). It is optional and when not set logs
are captured at INFO level and higher (the existing behavior).

Change-Id: If1434378b325d6115b45e66b3c42c824e083100e
Co-Authored-By: Ian Wienand <iwienand@redhat.com>
Co-Authored-By: James E. Blair <jeblair@redhat.com>
2019-07-09 16:43:11 -07:00

53 lines
718 B
Django/Jinja

[formatters]
keys=simple
[loggers]
keys=root,nodepool,openstack,kazoo,keystoneauth,novaclient
[handlers]
keys=file
[logger_root]
level=WARNING
handlers=file
[logger_nodepool]
level=DEBUG
handlers=file
qualname=nodepool
propagate=0
[logger_openstack]
level=DEBUG
handlers=file
qualname=openstack
propagate=0
[logger_keystoneauth]
level=DEBUG
handlers=file
qualname=keystoneauth
propagate=0
[logger_novaclient]
level=DEBUG
handlers=file
qualname=novaclient
propagate=0
[logger_kazoo]
level=INFO
handlers=file
qualname=kazoo
propagate=0
[handler_file]
level=DEBUG
class=FileHandler
formatter=simple
args=('{{ log_file }}', 'w')
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=