add debug logging to netty transport tcp config

This commit is contained in:
kimchy 2011-07-20 00:31:14 +03:00
parent 671db81992
commit c1dcea8a9e
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,9 @@ public class NettyTransport extends AbstractLifecycleComponent<Transport> implem
this.connectionsPerNodeLow = componentSettings.getAsInt("connections_per_node.low", settings.getAsInt("transport.connections_per_node.low", 2));
this.connectionsPerNodeMed = componentSettings.getAsInt("connections_per_node.med", settings.getAsInt("transport.connections_per_node.med", 7));
this.connectionsPerNodeHigh = componentSettings.getAsInt("connections_per_node.high", settings.getAsInt("transport.connections_per_node.high", 1));
logger.debug("using worker_count[{}], port[{}], bind_host[{}], publish_host[{}], compress[{}], connect_timeout[{}], connections_per_node[{}/{}/{}]",
workerCount, port, bindHost, publishHost, compress, connectTimeout, connectionsPerNodeLow, connectionsPerNodeMed, connectionsPerNodeHigh);
}
public Settings settings() {