[asterisk-bugs] [JIRA] Updated: (ASTERISK-20189) add a none rotatestrategy that disables internal log rotation

Jaco Kroon (JIRA) noreply at issues.asterisk.org
Thu Aug 2 08:40:21 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaco Kroon updated ASTERISK-20189:
----------------------------------

    Attachment: asterisk-logger-norotate.patch

> add a none rotatestrategy that disables internal log rotation
> -------------------------------------------------------------
>
>                 Key: ASTERISK-20189
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20189
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 1.8.13.1
>            Reporter: Jaco Kroon
>            Severity: Minor
>         Attachments: asterisk-logger-norotate.patch
>
>
> 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