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