You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/07/30 04:52:09 UTC
[jira] [Resolved] (CASSANDRA-2971) Append (not add new) InetAddress
info logging when starting MessagingService
[ https://issues.apache.org/jira/browse/CASSANDRA-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-2971.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.8.3
Reviewer: jbellis
Assignee: Jackson Chung
committed, thanks!
> 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