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

14 lines
205 B
Plaintext

# 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
}