[logback-dev] svn commit: r2361 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Mon Jul 20 20:15:38 CEST 2009
Author: ceki
Date: Mon Jul 20 20:15:38 2009
New Revision: 2361
Modified:
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java
Log:
Failing to reconnect to remote server should be reported as a warning and not an error.
Fixes LBCLASSIC-143
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java Mon Jul 20 20:15:38 2009
@@ -133,7 +133,7 @@
msg += " We will try again later.";
fireConnector(); // fire the connector thread
}
- addError(msg, e);
+ addWarn(msg, e);
}
}
More information about the logback-dev
mailing list