ebee144eda
Nodepool is switching away from using shade to using openstacksdk. The adds the logging for openstacksdk, but does not yet remove shade in case we need to revert nodepool. The next review should remove shade logging entirely. Change-Id: I7e6820c2f8ea044cc97c322ae9b91fe0bee559db
61 lines
1012 B
Plaintext
61 lines
1012 B
Plaintext
[loggers]
|
|
keys=root,nodepool,requests,shade,openstack,kazoo
|
|
|
|
[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_openstack]
|
|
level=WARNING
|
|
handlers=debug,normal
|
|
qualname=openstack
|
|
|
|
[logger_nodepool]
|
|
level=DEBUG
|
|
handlers=debug,normal
|
|
qualname=nodepool
|
|
|
|
[logger_kazoo]
|
|
level=INFO
|
|
handlers=debug,normal
|
|
qualname=kazoo
|
|
propagate=0
|
|
|
|
[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/builder-debug.log', 'H', 8, 30,)
|
|
|
|
[handler_normal]
|
|
level=INFO
|
|
class=logging.handlers.TimedRotatingFileHandler
|
|
formatter=simple
|
|
args=('/var/log/nodepool/nodepool-builder.log', 'H', 8, 30,)
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
|
datefmt=
|