compress

/var/log/heat/*.log {
    rotate 15
    size 1M
    weekly
    dateext
    missingok
    notifempty
    su heat heat
    sharedscripts
}
