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

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Nov 27 09:25:45 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200124#comment-200124 ] 

Joshua Colp commented on ASTERISK-20744:
----------------------------------------

To any individual who takes a gander at this:

I suspect the underlying cause of this is because the security log level is dynamic. Dynamic logging levels may not work correctly with syslog, as well I believe there is an explicit mapping in the code for internal log levels to syslog log levels. This may also present an issue.
                
> 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
>            Severity: Minor
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list