Re: [asterisk-users] OT - log rotation [solved]

2009-09-06 Thread Olivier
2009/9/5 Steve Edwards asterisk@sedwards.com snip You can, but I don't. I do it like this: snip Very, very interesting practises. Originally, I opened this thread when I wondered whether or not, I should centralize logs (and from that original question, I came to study some tiny

Re: [asterisk-users] OT - log rotation [solved]

2009-09-06 Thread Steve Edwards
2009/9/5 Steve Edwards asterisk@sedwards.com snip You can, but I don't. I do it like this: snip On Sun, 6 Sep 2009, Olivier wrote: Very, very interesting practises. Originally, I opened this thread when I wondered whether or not, I should centralize logs (and from that original

Re: [asterisk-users] OT - log rotation [solved]

2009-09-06 Thread Roderick A. Anderson
Steve Edwards wrote: 2009/9/5 Steve Edwards asterisk@sedwards.com snip You can, but I don't. I do it like this: snip On Sun, 6 Sep 2009, Olivier wrote: snip / To avoid that, have you tried tools like phpLogCon ? Nope. Never heard of phpLogCon before. Since it hasn't come up

Re: [asterisk-users] OT - log rotation [solved]

2009-09-05 Thread Olivier
Thank God Asterisk can be configured to use syslog. I think Asterisk should deprecate logging to files to encourage users to get with best practices. Do you imply asterisk -rx logger reload is not needed anymore with syslog ? Not looking for a flame-fest, but why are you using

Re: [asterisk-users] OT - log rotation [solved]

2009-09-05 Thread Steve Edwards
On Fri, 4 Sep 2009, Steve Edwards wrote: Thank God Asterisk can be configured to use syslog. I think Asterisk should deprecate logging to files to encourage users to get with best practices. On Sat, 5 Sep 2009, Olivier wrote: Do you imply asterisk -rx logger reload is not needed anymore

Re: [asterisk-users] OT - log rotation [solved]

2009-09-04 Thread Olivier
From an off-list comment, I think the explanation is : - some apps are opening and closing log files before and after each writing, - some are leaving log files open. When a log file is currently rotated, both apps can't append anything anymore to log files. Apps like Asterisk with wide open log

Re: [asterisk-users] OT - log rotation [solved]

2009-09-04 Thread Stanisław Pitucha
2009/9/4 Olivier oza-4...@myamail.com: From an off-list comment, I think the explanation is : - some apps are opening and closing log files before and after each writing, - some are leaving log files open. When a log file is currently rotated, both apps can't append anything anymore to log

Re: [asterisk-users] OT - log rotation [solved]

2009-09-04 Thread Matt Riddell
On 4/09/09 10:31 PM, Stanisław Pitucha wrote: 2009/9/4 Olivieroza-4...@myamail.com: From an off-list comment, I think the explanation is : - some apps are opening and closing log files before and after each writing, - some are leaving log files open. When a log file is currently rotated,

Re: [asterisk-users] OT - log rotation [solved]

2009-09-04 Thread Steve Edwards
On 4/09/09 10:31 PM, Stanisław Pitucha wrote: 2009/9/4 Olivieroza-4...@myamail.com: From an off-list comment, I think the explanation is : - some apps are opening and closing log files before and after each writing, - some are leaving log files open. When a log file is currently rotated, both