create &DIR&/test*.log { daily rotate 1 postrotate exit 1 endscript }