[
https://issues.apache.org/jira/browse/LOG4J2-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emanuele Colombo closed LOG4J2-101.
-----------------------------------
The problem is now solved. Thanks!
> Attribute "format" for SyslogAppender is mandatory
> --------------------------------------------------
>
> Key: LOG4J2-101
> URL: https://issues.apache.org/jira/browse/LOG4J2-101
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-beta2
> Reporter: Emanuele Colombo
> Fix For: 2.0-beta3
>
>
> In the SyslogAppender the configuration attribute "Format" must be present,
> otherwise a NullPointerException is thrown in method "createAppender" when
> the following statement is executed:
> if (format.equalsIgnoreCase(RFC5424))
> The fix is simply to add a check so the "equalsIgnoreCase" is called only if
> the format variable isn't Null.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]