/var/log/taskd/taskd.log {
    daily
    missingok
    rotate 7
    compress
    delaycompress
    copytruncate
}