Commit e4f4a9c5 authored by Guus der Kinderen's avatar Guus der Kinderen

Both SENT and RECV debug output should be logged to the same output.

parent 8831c7b2
...@@ -303,7 +303,7 @@ public class HttpBindServlet extends HttpServlet { ...@@ -303,7 +303,7 @@ public class HttpBindServlet extends HttpServlet {
throws IOException throws IOException
{ {
if (JiveGlobals.getBooleanProperty("log.httpbind.enabled", false)) { if (JiveGlobals.getBooleanProperty("log.httpbind.enabled", false)) {
Log.info(new Date() + ": HTTP ERR(" + session.getStreamID().getID() + "): " + bindingError.getErrorType().getType() + ", " + bindingError.getCondition() + "."); System.out.println(new Date() + ": HTTP ERR(" + session.getStreamID().getID() + "): " + bindingError.getErrorType().getType() + ", " + bindingError.getCondition() + ".");
} }
try { try {
if ((session.getMajorVersion() == 1 && session.getMinorVersion() >= 6) || session.getMajorVersion() > 1) if ((session.getMajorVersion() == 1 && session.getMinorVersion() >= 6) || session.getMajorVersion() > 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment