/var/log/hudson/hudson.log /var/log/hudson/access_log {
    compress
    dateext
    maxage 365
    rotate 99
    size=+4096k
    notifempty
    missingok
    create 644
    postrotate
     kill -SIGALRM `cat /var/run/hudson.pid`
    endscript
}
