8ed863ad9d
Now that the nodepool builder is running as a separate daemon it needs its own log config file. Move the auto generated nodepool logging config stuff over to the new builder logging config as we can manage the main daemon's logging config by hand trivially now. Depends-On: I013835621dfbc311a0f7bd7c957b7d4656dfa628 Change-Id: Ic1da30eab949876e5bd6c88e83979bdedc6dd50a
50 lines
829 B
Plaintext
50 lines
829 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_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=
|