53478793d9
An upcoming change to nodepool supports logging the output from the image creation process. Use it. Change-Id: I3a45a30f813d0f7b9fff4f602b945d72f2dcda3e
57 lines
1016 B
Plaintext
57 lines
1016 B
Plaintext
[loggers]
|
|
keys=root,nodepool,requests,image
|
|
|
|
[handlers]
|
|
keys=console,debug,normal,image
|
|
|
|
[formatters]
|
|
keys=simple
|
|
|
|
[logger_root]
|
|
level=WARNING
|
|
handlers=console
|
|
|
|
[logger_requests]
|
|
level=WARNING
|
|
handlers=debug,normal
|
|
qualname=requests
|
|
|
|
[logger_nodepool]
|
|
level=DEBUG
|
|
handlers=debug,normal
|
|
qualname=nodepool
|
|
|
|
[logger_image]
|
|
level=INFO
|
|
handlers=image
|
|
qualname=nodepool.image.build
|
|
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/debug.log', 'midnight', 1, 30,)
|
|
|
|
[handler_normal]
|
|
level=INFO
|
|
class=logging.handlers.TimedRotatingFileHandler
|
|
formatter=simple
|
|
args=('/var/log/nodepool/nodepool.log', 'midnight', 1, 30,)
|
|
|
|
[handler_image]
|
|
level=INFO
|
|
class=logging.handlers.TimedRotatingFileHandler
|
|
formatter=simple
|
|
args=('/var/log/nodepool/image.log', 'midnight', 1, 30,)
|
|
|
|
[formatter_simple]
|
|
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
|
datefmt=
|