summaryrefslogtreecommitdiff
path: root/lib/support/logrotate/gitlab
blob: df9398d0795290f91794f72e0758bd8b34a04fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# GitLab logrotate settings
# based on: http://stackoverflow.com/a/4883967

/home/git/gitlab/log/*.log {
    weekly
    missingok
    rotate 52
    compress
    delaycompress
    notifempty
    copytruncate
}

/home/git/gitlab-shell/gitlab-shell.log {
    weekly
    missingok
    rotate 52
    compress
    delaycompress
    notifempty
    copytruncate
}