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