logging cleanups

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

No files matched your search

@@ -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) {