aports/testing/mongodb/mongodb.logrotate
Natanael Copa 5212570b3d testing/mongodb: new aport
High-performance, schema-free document-oriented database
http://www.mongodb.org

ref #1182
2013-06-11 08:20:49 +00:00

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
}