Andrew Bogott has submitted this change and it was merged.
Change subject: nodepool: switch info logs from hourly to daily
......................................................................
nodepool: switch info logs from hourly to daily
The image.log and nodepool.log INFO logs are quite small. So instead of
keeping 96 hourly logs, change it to 15 daily logs. Less files to dig
around in /var/log/nodepool.
Keep debug.log to 96 hourly logs though, since that one is quite spammy.
Change-Id: If511bd3901d74a999d040077d47ed57a0ce1b0ea
---
M modules/nodepool/files/logging.conf
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Andrew Bogott: Looks good to me, approved
Zfilipin: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/modules/nodepool/files/logging.conf
b/modules/nodepool/files/logging.conf
index 535f303..8b762a6 100644
--- a/modules/nodepool/files/logging.conf
+++ b/modules/nodepool/files/logging.conf
@@ -54,13 +54,13 @@
level=INFO
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
-args=('/var/log/nodepool/nodepool.log', 'H', 1, 96,)
+args=('/var/log/nodepool/nodepool.log', 'D', 1, 15,)
[handler_image]
level=INFO
class=logging.handlers.TimedRotatingFileHandler
formatter=simple
-args=('/var/log/nodepool/image.log', 'H', 1, 96,)
+args=('/var/log/nodepool/image.log', 'D', 1, 15,)
### Formatters ######################################
--
To view, visit https://gerrit.wikimedia.org/r/240986
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If511bd3901d74a999d040077d47ed57a0ce1b0ea
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Andrew Bogott <[email protected]>
Gerrit-Reviewer: Dduvall <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Zfilipin <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits