create

&DIR&/test*.log {
    daily
    copytruncate
    rotate 1
}