[asterisk-bugs] [JIRA] Created: (ASTERISK-20334) Add a none rotatestrategy that disables internal log rotation

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Aug 29 09:04:08 CDT 2012


Add a none rotatestrategy that disables internal log rotation
-------------------------------------------------------------

                 Key: ASTERISK-20334
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20334
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Core/General
    Affects Versions: 1.8.13.1
            Reporter: Jaco Kroon
            Assignee: Rusty Newton
            Severity: Minor


We are using an external log rotation mechanism and have a need to disable asterisk's internal rotation that kicks in at 1GB.

The patch I'm about to attach achieves this for us by adding a none strategy on the rotation.

A further enhancement could be to implement a maxlogsize option, which will enable a user to set the size at which the automatic rotation happens, and when set to 0 disables the size based rotation, but still allow rotation via logger reload.  We're not interested in this and want to disable rotation entirely.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list