gentoo/dev-db/mongodb/files/mongodb.logrotate

14 lines
205 B
Plaintext
Raw Permalink Normal View History

2023-03-03 18:59:39 +01:00
# 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
}