You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Emanuele Colombo (JIRA)" <ji...@apache.org> on 2012/10/22 10:02:13 UTC
[jira] [Closed] (LOG4J2-101) Attribute "format" for SyslogAppender
is mandatory
[ 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org