[LOGBack-dev] svn commit: r422 - logback/core/trunk/src/main/java/ch/qos/logback/core/net
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Wed Aug 9 18:54:16 CEST 2006
Author: ceki
Date: Wed Aug 9 18:54:15 2006
New Revision: 422
Modified:
logback/core/trunk/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java
Log:
Syslog relateed work
Modified: logback/core/trunk/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java
==============================================================================
--- logback/core/trunk/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java (original)
+++ logback/core/trunk/src/main/java/ch/qos/logback/core/net/SyslogAppenderBase.java Wed Aug 9 18:54:15 2006
@@ -1,8 +1,6 @@
package ch.qos.logback.core.net;
import java.io.IOException;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
import ch.qos.logback.core.AppenderBase;
import ch.qos.logback.core.Layout;
@@ -32,7 +30,7 @@
}
}
- abstract public Layout makeDefaultLayout(int facility);
+ abstract public Layout buildLayout(int facility);
abstract public int getSeverityForEvent(Object eventObject);
@@ -57,7 +55,7 @@
*
* @throws IllegalArgumentException if the facility string is not recognized
* */
- static int facilityStringToint(String facilityStr) {
+ static public int facilityStringToint(String facilityStr) {
if ("KERN".equalsIgnoreCase(facilityStr)) {
return SyslogConstants.LOG_KERN;
} else if ("USER".equalsIgnoreCase(facilityStr)) {
More information about the logback-dev
mailing list