<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">&lt;<a href="mailto:shasta@toxcorp.com" target="_blank">shasta@toxcorp.com</a>&gt;</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>
&gt; Rakesh Rajasekharan &lt;<a href="mailto:rakesh.rajasekharan@gmail.com">rakesh.rajasekharan@gmail.com</a>&gt; writes:<br>
&gt;<br>
&gt;&gt; yes something similar .. but instead of the day, month can we do it based<br>
&gt;&gt; on the size. say once it crosses 1 GB , archive it and have a new log file<br>
&gt;&gt; created. Can we do this from syslog-ng ?<br>
&gt;<br>
&gt; No, that is not possible yet. There are plans to add support for it,<br>
&gt; there was even a patch a year or so ago, but it needs to be cleaned up<br>
&gt; and updated before proposing it for merging into 3.5. And as such, if<br>
&gt; and when this feature appears, it won&#39;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&#39;d<br>
use with classic BSD syslogd. Don&#39;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>