diff --git a/modules/nodepool/templates/nodepool.logging.conf.erb b/modules/nodepool/templates/nodepool.logging.conf.erb index b626331044..e14c553fe1 100644 --- a/modules/nodepool/templates/nodepool.logging.conf.erb +++ b/modules/nodepool/templates/nodepool.logging.conf.erb @@ -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