create

&DIR&/test.log {
    daily
    dateext
    dateformat -%Y%m%d
    rotate 0
    compress
    compresscmd gzip
    uncompresscmd gunzip
    compressext .gz
    nosharedscripts
    dateext
    mail user@invalid.
    maillast
}
