Hello.
I'm using a very simple configuration on Ubuntu 12.04.2 LTS


@version: 3.3
@include "scl.conf"
source from-network { udp(ip("0.0.0.0") port(514)); };
destination local-file { file("/var/log/temporary-encrypted/$YEAR-$MONTH-$DAY.log"); };
log { source(from-network); destination(local-file);};


Log on a destination file using date as filename.
I need to close this file when date changes at 00:00. How?
Thanks.
Andrea