[dev-db/mongodb] add newer
This commit is contained in:
13
dev-db/mongodb/files/mongodb.logrotate
Normal file
13
dev-db/mongodb/files/mongodb.logrotate
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user