/var/log/eltex-prometheus/prometheus.log {
    maxsize 10M
    daily
    missingok
    rotate 10
    compress
    dateext
    notifempty
    create
    sharedscripts
    postrotate
        invoke-rc.d rsyslog rotate >/dev/null 2>&1 || true
        invoke-rc.d syslog-ng reload >/dev/null 2>&1 || true
    endscript
}
