[asterisk-users] rotatestrategy = none not working
David Cunningham
dcunningham at voisonics.com
Wed May 20 03:38:36 CDT 2020
Hi Steve,
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.
On Wed, 20 May 2020 at 18:37, Steve Edwards <asterisk.org at sedwards.com>
wrote:
> 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 sedwards at 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
--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200520/68dfdb42/attachment.html>
More information about the asterisk-users
mailing list