[
https://issues.apache.org/jira/browse/CASSANDRA-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073119#comment-13073119
]
Hudson commented on CASSANDRA-2971:
-----------------------------------
Integrated in Cassandra-0.8 #245 (See
[https://builds.apache.org/job/Cassandra-0.8/245/])
log full MS address on startup
patch by Jackson Chung; reviewed by jbellis for CASSANDRA-2971
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1152420
Files :
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/net/MessagingService.java
> Append (not add new) InetAddress info logging when starting MessagingService
> ----------------------------------------------------------------------------
>
> Key: CASSANDRA-2971
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2971
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jackson Chung
> Assignee: Jackson Chung
> Priority: Minor
> Fix For: 0.8.3
>
> Attachments: 2971.patch
>
>
> Currently we have
> {code: title=MessagingService.getServerSocket(InetAddress localEp) }
> logger_.info("Starting Messaging Service on port {}",
> DatabaseDescriptor.getStoragePort());
> {code}
> We should probably just print the whole binded address. The address is an
> InetSocketAddress:
> {code}
> InetSocketAddress address = new InetSocketAddress(localEp,
> DatabaseDescriptor.getStoragePort());
> try
> {
> ss.bind(address);
> }
> {code}
> {code}
> logger_.info("Starting Messaging Service on {}",address);
> {code}
> sample output with the new log:
> {noformat}
> INFO [main] 2011-07-29 18:54:54,018 MessagingService.java (line 226)
> Starting Messaging Service on faranth/192.168.1.141:7000
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira