INT-1797 Polish trace log entry
This commit is contained in:
@@ -384,8 +384,13 @@ public abstract class AbstractConnectionFactory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (logger.isTraceEnabled())
|
if (logger.isTraceEnabled()) {
|
||||||
logger.trace("Host " + this.host + " port " + this.port + " SelectionCount: " + selectionCount);
|
if (host == null) {
|
||||||
|
logger.trace("Port " + this.port + " SelectionCount: " + selectionCount);
|
||||||
|
} else {
|
||||||
|
logger.trace("Host " + this.host + " port " + this.port + " SelectionCount: " + selectionCount);
|
||||||
|
}
|
||||||
|
}
|
||||||
if (selectionCount > 0) {
|
if (selectionCount > 0) {
|
||||||
Set<SelectionKey> keys = selector.selectedKeys();
|
Set<SelectionKey> keys = selector.selectedKeys();
|
||||||
Iterator<SelectionKey> iterator = keys.iterator();
|
Iterator<SelectionKey> iterator = keys.iterator();
|
||||||
|
|||||||
Reference in New Issue
Block a user