/var/log/webui {
    # Append time and date to file
    dateext
    dateformat .%Y_%m_%d-%ss
    size 20M
    rotate 7
    missingok
    create 640 root dosis
    postrotate
    /bin/kill -HUP $(cat /var/run/syslogd.pid 2> /dev/null) 2> /dev/null || true
    endscript
}
