virendra bhati
2012-Jan-27 07:48 UTC
[asterisk-users] Strange how Asterisk know the updated information of log
Hi All, 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. So how asterisk know that file name is changed ? why not asterisk make new file with the name of *full* ? Can someone please tell me this behaviour of Asterisk (1.6.2.20). -- 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/65654091/attachment.htm>
Alec Davis
2012-Jan-27 08:42 UTC
[asterisk-users] Strange how Asterisk know the updated information of log
> I want to make a new file of CLI log everyday. So I just make ashell 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