On Wed, 20 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:
; Created by makefile on 2020-05-19 at 23:05:08
; from /source/src/obl-server/logger.conf.pre
[general]
rotatestrategy = none
[logfiles]
/tmp/ast-log-test =
debug,dtmf,error,event,notice,verbose,warning
; (end of /etc/asterisk/obl/logger.conf)
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST
https://www.linkedin.com/in/steve-edwards-4244281
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users