Merge "Rotate out nodepool logs every 8-hours"
This commit is contained in:
commit
7b9c047612
@ -37,19 +37,19 @@ args=(sys.stdout,)
|
||||
level=DEBUG
|
||||
class=logging.handlers.TimedRotatingFileHandler
|
||||
formatter=simple
|
||||
args=('/var/log/nodepool/debug.log', 'midnight', 1, 30,)
|
||||
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', 'midnight', 1, 30,)
|
||||
args=('/var/log/nodepool/nodepool.log', 'H', 8, 30,)
|
||||
|
||||
[handler_image]
|
||||
level=INFO
|
||||
class=logging.handlers.TimedRotatingFileHandler
|
||||
formatter=simple
|
||||
args=('<%= @image_log_document_root %>/image.log', 'midnight', 1, 30,)
|
||||
args=('<%= @image_log_document_root %>/image.log', 'H', 8, 30,)
|
||||
|
||||
[formatter_simple]
|
||||
format=%(asctime)s %(levelname)s %(name)s: %(message)s
|
||||
|
Loading…
Reference in New Issue
Block a user