[asterisk-users] Strange how Asterisk know the updated information of log

virendra bhati virbhati at gmail.com
Fri Jan 27 04:02:26 CST 2012


Hi,

Doing some changes on logger.conf and with the help of cli> logger rotate

now problem is solved.

thank you Alec..


On Fri, Jan 27, 2012 at 2:35 PM, virendra bhati <virbhati at gmail.com> wrote:

> Logger rotate is used to reload and start asterisk log of Events and
> quesue.
>
> 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.
>
>
> On Fri, Jan 27, 2012 at 2:12 PM, Alec Davis <sivad.a at paradise.net.nz>wrote:
>
>> >       I want to make a new file of CLI log everyday. So I just make a
>> shell script in asterisk log directory. My file is working fine and making
>> new file with the >>name of full_2012-01-27. But strange I noticed that
>> asterisk is updating my newly crested files even i don't reload asterisk.
>> >
>>
>> The CLI command 'logger rotate' may be a better way.
>>
>> Alec
>>
>>
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>>               http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
>
> --
>
> Thanks and regards
>
>  Virendra Bhati
> +91-8885268942
> Software Engineer
> E-mail-: virbhati at gmail.com
> Skype id:- virbhati2
>
>


-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
E-mail-: virbhati at gmail.com
Skype id:- virbhati2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120127/8984c914/attachment.htm>


More information about the asterisk-users mailing list