Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
Currently we have
MessagingService.getServerSocket(InetAddress localEp)
logger_.info("Starting Messaging Service on port {}", DatabaseDescriptor.getStoragePort());
We should probably just print the whole binded address. The address is an InetSocketAddress:
InetSocketAddress address = new InetSocketAddress(localEp, DatabaseDescriptor.getStoragePort()); try { ss.bind(address); }
logger_.info("Starting Messaging Service on {}",address);
sample output with the new log:
INFO [main] 2011-07-29 18:54:54,018 MessagingService.java (line 226) Starting Messaging Service on faranth/192.168.1.141:7000