On Tue, 2009-08-18 at 21:59 +0200, Sergei Zhirikov wrote:
Jain, Vaibhav (GE Healthcare) wrote:
I am using syslog-ng to collect the logs from different machines. I want to configure the log rotation policy. I want to know How to configure the log rotation policy? Does syslog-ng supports it? is there any relation between syslog-ng and log rotation ?
I was searching it on google and I found one example ( given below ). i want to know what is the role of syslog-ng in log rotation ? I think log rotataion is not part of syslog-ng features. Can you please suggest me the best way for log rotation?
Hi,
Personally I prefer to arrange log rotation based on the file size rather than some fixed time interval, so I have added that feature to syslog-ng. If anyone is interested I can explain in more details and post the patch.
Please do. That's what open source is about. -- Bazsi