This commit is contained in:
地平线
2015-08-13 10:52:37 +08:00
parent f01c0a741d
commit 70448778f0

View File

@@ -124,7 +124,7 @@ public abstract class Server {
transport.bind(address, backlog);
transport.accept();
final String threadName = "[" + Thread.currentThread().getName() + "] ";
logger.info(threadName + this.getClass().getSimpleName() + " listen: " + address
logger.info(threadName + this.getClass().getSimpleName() + "." + protocol + " listen: " + address
+ ", threads: " + threads + ", bufferPoolSize: " + bufferPoolSize + ", responsePoolSize: " + responsePoolSize
+ ", started in " + (System.currentTimeMillis() - context.getServerStartTime()) + " ms");
}