logging cleanups

This commit is contained in:
zzz
2012-09-10 17:22:51 +00:00
parent 2f98d05e7c
commit 3781928693
4 changed files with 24 additions and 11 deletions

View File

@@ -389,7 +389,8 @@ class MessageOutputStream extends OutputStream {
// should we? To be researched further.
// false -> wait for completion, not just accept.
flush(false);
_log.debug("Output stream closed after writing " + _written);
if (_log.shouldLog(Log.DEBUG))
_log.debug("Output stream closed after writing " + _written);
ByteArray ba = null;
synchronized (_dataLock) {
if (_buf != null) {