log tweak

This commit is contained in:
zzz
2011-01-05 21:01:03 +00:00
parent 4005bd6804
commit ea29c961ed
3 changed files with 9 additions and 2 deletions

View File

@ -497,7 +497,7 @@ class MessageOutputStream extends OutputStream {
if (ws.writeFailed())
throw new IOException("Flush available failed");
else if (!ws.writeAccepted())
throw new InterruptedIOException("Flush available timed out");
throw new InterruptedIOException("Flush available timed out (" + _writeTimeout + "ms)");
}
long afterAccept = System.currentTimeMillis();
if ( (afterAccept - afterBuild > 1000) && (_log.shouldLog(Log.DEBUG)) )