[syslog-ng] Closing destination file when date changes.
andrea.meconi at libero.it
andrea.meconi at libero.it
Fri Mar 22 09:37:41 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130322/2166c305/attachment.htm
More information about the syslog-ng
mailing list