Commit c22646d2 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Logrotate daily, keeping 90 days of old logs

Also remove the 'delaycompress' option which is not needed because we
use 'copytruncate'.
parent ae4ae2b2
...@@ -2,21 +2,19 @@ ...@@ -2,21 +2,19 @@
# based on: http://stackoverflow.com/a/4883967 # based on: http://stackoverflow.com/a/4883967
/home/git/gitlab/log/*.log { /home/git/gitlab/log/*.log {
weekly daily
missingok missingok
rotate 52 rotate 90
compress compress
delaycompress
notifempty notifempty
copytruncate copytruncate
} }
/home/git/gitlab-shell/gitlab-shell.log { /home/git/gitlab-shell/gitlab-shell.log {
weekly daily
missingok missingok
rotate 52 rotate 90
compress compress
delaycompress
notifempty notifempty
copytruncate copytruncate
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment