create

&DIR&/test.log {
    daily
    dateext
    dateformat -%Y%m%d
    rotate 0
    compress
    nosharedscripts
    dateext
    mail user@myhost.org
    maillast
}
