gitlab-org--gitlab-foss/lib/support/logrotate/gitlab
Jacob Vosmaer c22646d2a4 Logrotate daily, keeping 90 days of old logs
Also remove the 'delaycompress' option which is not needed because we
use 'copytruncate'.
2014-03-12 15:26:39 +01:00

20 lines
318 B
Text

# GitLab logrotate settings
# based on: http://stackoverflow.com/a/4883967
/home/git/gitlab/log/*.log {
daily
missingok
rotate 90
compress
notifempty
copytruncate
}
/home/git/gitlab-shell/gitlab-shell.log {
daily
missingok
rotate 90
compress
notifempty
copytruncate
}