/opt/tiflux/logs/*.log {
        daily
        rotate 7
        missingok
        notifempty
        compress
        nocreate
        su root root
}