[syslog-ng] How to make syslog to write to a new file every 10 mins

Balazs Scheidler bazsi at balabit.hu
Thu Aug 4 14:33:17 CEST 2005


On Wed, 2005-08-03 at 14:42 -0700, Hermann Tse wrote:
> Hi,
> 
> I can make it to write to a new file every hour by the following 
> 
> destination firewall {file
> ("var/log/firewall/firewall_$YEAR_$MONTH_$DAY_$HOUR")}
> 
> but how I can make it to write to a new file every 5 minutes or 10
> minutes?

you can create a new file every minute if you also included the $MIN
macro, however currently there's no way to do that currently.

-- 
Bazsi



More information about the syslog-ng mailing list