aboutsummaryrefslogtreecommitdiff
path: root/system/jenkins/files/logrotate.jenkins
blob: f6b40db07baf24da864f23fa30438a2995caea57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/jenkins/jenkins.log /var/log/jenkins/jenkins_console.log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+4096k
    notifempty
    missingok
    create 644
    postrotate
     kill -s SIGALRM `cat /var/run/jenkins.pid`
    endscript
}