[asterisk-bugs] [JIRA] (ASTERISK-20744) Security event logging does not work over syslog

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Apr 15 12:50:01 CDT 2013


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

Michael L. Young updated ASTERISK-20744:
----------------------------------------

    Attachment: asterisk-20744-syslog-dynamic-logging_trunk.diff

Josh is right about syslog not handling dynamic logging at all.

This patch adds the ability for dynamic logging to be output to syslog by basically defaulting to the systlog level of LOG_NOTICE.

This was a quick way to get the desired logging.
                
> Security event logging does not work over syslog
> ------------------------------------------------
>
>                 Key: ASTERISK-20744
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20744
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_security_log
>    Affects Versions: 11.0.0, 11.0.1
>         Environment: AstLinux 1.0.5, Linux 2.6.35, Asterisk 11.0.1
>            Reporter: Michael Keuter
>            Assignee: Matt Jordan
>            Severity: Minor
>         Attachments: asterisk-20744-syslog-dynamic-logging_trunk.diff
>
>
> The SIP security event logging works fine for me for console and file logging, but the security events are not logged over syslog. Everything else except "security" works fine over syslog.
> logger.conf:
> ...
> syslog.local0 => notice,warning,error,security
> logger show channels 
> Channel                             Type     Status    Configuration
> -------                             ----     ------    -------------
> syslog.local0                       Syslog   Enabled    - NOTICE WARNING ERROR SECURITY 
> /var/log/asterisk/security_log      File     Enabled    - SECURITY 
>                                    Console  Enabled    - NOTICE WARNING ERROR SECURITY 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list