diff options
Diffstat (limited to 'non-free/mongodb/mongodb.logrotate')
-rw-r--r-- | non-free/mongodb/mongodb.logrotate | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/non-free/mongodb/mongodb.logrotate b/non-free/mongodb/mongodb.logrotate new file mode 100644 index 0000000000..f95a438b5b --- /dev/null +++ b/non-free/mongodb/mongodb.logrotate @@ -0,0 +1,13 @@ +# Default log rotation / compression keeps 1 year of logs. +/var/log/mongodb/*.log { + daily + rotate 365 + dateext + copytruncate + delaycompress + compress + notifempty + extension gz + sharedscripts + missingok +} |