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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Aug 2 17:28:21 CDT 2012


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

Rusty Newton updated ASTERISK-20189:
------------------------------------

    Assignee: Jaco Kroon
      Status: Waiting for Feedback  (was: Triage)

Jaco, Thanks for the contribution! New features and improvements must be written against trunk. Can you provide a patch against trunk?

> 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
>            Assignee: Jaco Kroon
>            Severity: Minor
>         Attachments: asterisk-logger-norotate.patch, 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