<div dir="ltr"><div>Yup ... got it.. so for now , i need to rely on the logrotate outside of syslog-ng....<br><br></div>Thanks,<br>Rakesh.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 6:50 PM, Jakub Jankowski <span dir="ltr"><<a href="mailto:shasta@toxcorp.com" target="_blank">shasta@toxcorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-05-10, Gergely Nagy wrote:<br>
<br>
> Rakesh Rajasekharan <<a href="mailto:rakesh.rajasekharan@gmail.com">rakesh.rajasekharan@gmail.com</a>> writes:<br>
><br>
>> yes something similar .. but instead of the day, month can we do it based<br>
>> on the size. say once it crosses 1 GB , archive it and have a new log file<br>
>> created. Can we do this from syslog-ng ?<br>
><br>
> No, that is not possible yet. There are plans to add support for it,<br>
> there was even a patch a year or so ago, but it needs to be cleaned up<br>
> and updated before proposing it for merging into 3.5. And as such, if<br>
> and when this feature appears, it won't be in the 3.3 or 3.4 branches.<br>
<br>
</div>And until this is implemented, my suggestion is to use logrotate as you'd<br>
use with classic BSD syslogd. Don't forget to send SIGHUP to syslog-ng in<br>
postrotate hooks.<br>
<br>
<br>
HTH,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jakub Jankowski|<a href="mailto:shasta@toxcorp.com">shasta@toxcorp.com</a>|<a href="http://toxcorp.com/" target="_blank">http://toxcorp.com/</a><br>
GPG: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</div></div></blockquote></div><br></div>