system-config/modules/openstack_project/templates/nodepool/nodepool.logging.conf.erb
Clark Boylan a6c2ec56b5 Log gear at debug level on nodepoold
We need to log gear at a debug level temporarily in order to debug a
gear communication issue between zuul and nodepool. tcpdump shows the
data is moving between the hosts we just aren't making use of it
properly.

Change-Id: I40e957452721a0e3e82cca4e39f9c56825736d38
2016-08-29 14:22:52 -07:00

55 lines
892 B
Plaintext

[loggers]
keys=root,nodepool,requests,shade
[handlers]
keys=console,debug,normal
[formatters]
keys=simple
[logger_root]
level=WARNING
handlers=console
[logger_requests]
level=WARNING
handlers=debug,normal
qualname=requests
[logger_shade]
level=WARNING
handlers=debug,normal
qualname=shade
[logger_gear]
level=DEBUG
handlers=debug,normal
qualname=gear
[logger_nodepool]
level=DEBUG
handlers=debug,normal
qualname=nodepool
[handler_console]
level=WARNING
class=StreamHandler
formatter=simple
args=(sys.stdout,)
[handler_debug]
level=DEBUG
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
args=('/var/log/nodepool/debug.log', 'H', 8, 30,)
[handler_normal]
level=INFO
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
args=('/var/log/nodepool/nodepool.log', 'H', 8, 30,)
[formatter_simple]
format=%(asctime)s %(levelname)s %(name)s: %(message)s
datefmt=