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 "Scott Severtson (JIRA)" <ji...@apache.org> on 2012/11/15 19:44:12 UTC
[jira] [Created] (LOG4J2-121) Syslog appender requires format
parameter, inconsistent with documentation
Scott Severtson created LOG4J2-121:
--------------------------------------
Summary: Syslog appender requires format parameter, inconsistent with documentation
Key: LOG4J2-121
URL: https://issues.apache.org/jira/browse/LOG4J2-121
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Affects Versions: 2.0-beta2
Environment: Java 1.6.0_24
Reporter: Scott Severtson
Priority: Minor
The Syslog appender requires the format parameter; if not supplied, a NullPointerException occurs:
Caused by: java.lang.NullPointerException
at org.apache.logging.log4j.core.appender.SyslogAppender.createAppender(SyslogAppender.java:114)
The documentation currently gives an illegal example configuration:
<Syslog name="bsd" host="localhost" port="5514" protocol="TCP"/>
The above appender configuration demonstrates the problem.
--
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
[jira] [Resolved] (LOG4J2-121) Syslog appender requires format
parameter, inconsistent with documentation
Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4J2-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers resolved LOG4J2-121.
--------------------------------
Resolution: Duplicate
Fix Version/s: 2.0-beta3
> Syslog appender requires format parameter, inconsistent with documentation
> --------------------------------------------------------------------------
>
> Key: LOG4J2-121
> URL: https://issues.apache.org/jira/browse/LOG4J2-121
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-beta2
> Environment: Java 1.6.0_24
> Reporter: Scott Severtson
> Priority: Minor
> Fix For: 2.0-beta3
>
>
> The Syslog appender requires the format parameter; if not supplied, a NullPointerException occurs:
> Caused by: java.lang.NullPointerException
> at org.apache.logging.log4j.core.appender.SyslogAppender.createAppender(SyslogAppender.java:114)
> The documentation currently gives an illegal example configuration:
> <Syslog name="bsd" host="localhost" port="5514" protocol="TCP"/>
> The above appender configuration demonstrates the problem.
--
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