[logback-dev] svn commit: r2443 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Tue Aug 11 23:06:36 CEST 2009
Author: ceki
Date: Tue Aug 11 23:06:36 2009
New Revision: 2443
Modified:
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java
Log:
yet another Sonar catch.
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java Tue Aug 11 23:06:36 2009
@@ -30,7 +30,6 @@
final static String SYSLOG_LAYOUT_URL = CoreConstants.CODES_URL + "#syslog_layout";
final static int MSG_SIZE_LIMIT = 256*1024;
- int facility;
String facilityStr;
String syslogHost;
protected String suffixPattern;
@@ -44,8 +43,6 @@
errorCount++;
}
- facility = facilityStringToint(facilityStr);
-
try {
sw = new SyslogWriter(syslogHost, port);
} catch (UnknownHostException e) {
More information about the logback-dev
mailing list