[syslog-ng] syslog-ng and logrotate

Stuart Green stuart.green at doccentrics.com
Fri May 10 12:07:25 CEST 2013


If you use something like:

destination hosts {
file("/var/log/syslog-ng/$HOST/$YEAR.$MONTH.$DAY/$FACILITY"

It would rotate the client files daily by creating a new folder within 
the year,month, but you'd need to clear up the files yourself if you're 
not intending on keeping them, is that what you are after?

[ Stu ]

On 10/05/2013 10:27, Rakesh Rajasekharan wrote:
> I am using the syslog-ng 3.3.7 version. My question is , can we manage 
> log rotation within the syslog-ng conf file ?
> Please advice
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20130510/57ed424f/attachment.htm 


More information about the syslog-ng mailing list