<div dir="ltr">Hi,<br><br>Doing some changes on logger.conf and with the help of cli> logger rotate <br><br>now problem is solved.<br><br>thank you<span class="xd"><img class="f T-KT-JX" src="images/cleardot.gif" alt=""> </span><span class="ik"></span><span class="gD" style="color:#5b1094">Alec..<br>
<br><br></span><div class="gmail_quote">On Fri, Jan 27, 2012 at 2:35 PM, virendra bhati <span dir="ltr"><<a href="mailto:virbhati@gmail.com">virbhati@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Logger rotate is used to reload and start asterisk log of Events and quesue.<br><br>And I want to store the complete log of asterisk for day-to-day report. that's y want to store in another file for future purpose.<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Jan 27, 2012 at 2:12 PM, Alec Davis <span dir="ltr"><<a href="mailto:sivad.a@paradise.net.nz" target="_blank">sivad.a@paradise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>> I want to make a new file of CLI log everyday. So I just make a<br>
shell script in asterisk log directory. My file is working fine and making<br>
new file with the >>name of full_2012-01-27. But strange I noticed that<br>
asterisk is updating my newly crested files even i don't reload asterisk.<br>
><br>
<br>
</div>The CLI command 'logger rotate' may be a better way.<br>
<br>
Alec<br>
<font color="#888888"><br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br><div dir="ltr"><br>Thanks and regards<br><br> Virendra Bhati<br><a href="tel:%2B91-8885268942" value="+918885268942" target="_blank">+91-8885268942</a><br>
Software Engineer<br>E-mail-: <a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a><br>
Skype id:- virbhati2<br></div><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><br>Thanks and regards<br><br> Virendra Bhati<br>+91-8885268942<br>Software Engineer<br>E-mail-: <a href="mailto:virbhati@gmail.com" target="_blank">virbhati@gmail.com</a><br>
Skype id:- virbhati2<br></div><br>
</div>