create

&DIR&/test*.log {
    monthly
    rotate 0
    mail user@myhost.org
    maillast
    sharedscripts

    preremove
	touch scriptout
	printf '%s' "$(basename $*)" >> scriptout
    endscript
}
