Emanuele Colombo created LOG4J2-101: ---------------------------------------
Summary: 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 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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org