Displaying 3 results from an estimated 3 matches for "rotatestrategy".
2020 May 20
2
rotatestrategy = none not working
...May 2020, David Cunningham wrote:
>
> > We have an Asterisk 11.3 server where we want log rotation handled
> > purely by Linux's logrotate, and not by Asterisk. To this end we've
> > configured the [general] action of /etc/asterisk/logger.conf with:
> >
> > rotatestrategy = none
> >
> > However, an "asterisk -rx 'logger reload'" still rotates the log files.
> > Does anyone know why?
>
> I had to hunt, but I found an 11.17.1 system :)
>
> 'none' does not rotate a log file on this host. Here's my logger.conf:...
2020 May 20
1
rotatestrategy = none not working
Hello,
We have an Asterisk 11.3 server where we want log rotation handled purely
by Linux's logrotate, and not by Asterisk. To this end we've configured the
[general] action of /etc/asterisk/logger.conf with:
rotatestrategy = none
However, an "asterisk -rx 'logger reload'" still rotates the log files.
Does anyone know why?
Thank you in advance,
--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
-------------- next part --------------...
2020 May 20
0
rotatestrategy = none not working
On Wed, 20 May 2020, David Cunningham wrote:
> Thanks for the answer. Since that's what we already have configured, any
> idea why it wouldn't work? As I said, when "asterisk -rx 'logger
> reload'" is run it still rotates the log file.
Sorry. No clues. I always use 'syslog' for logging everything. I just did
a quickie test to see if I could replicate