cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2971) Append (not add new) InetAddress info logging when starting MessagingService
Date Sat, 30 Jul 2011 02:52:09 GMT

     [ 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

        

Mime
View raw message