You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jackson Chung (JIRA)" <ji...@apache.org> on 2011/07/30 04:02:09 UTC
[jira] [Created] (CASSANDRA-2971) Append (not add new) InetAddress
info logging when starting MessagingService
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
Priority: Minor
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
[jira] [Commented] (CASSANDRA-2971) Append (not add new)
InetAddress info logging when starting MessagingService
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CASSANDRA-2971) Append (not add new) InetAddress
info logging when starting MessagingService
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CASSANDRA-2971) Append (not add new) InetAddress
info logging when starting MessagingService
Posted by "Jackson Chung (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jackson Chung updated CASSANDRA-2971:
-------------------------------------
Attachment: 2971.patch
> 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
> Priority: Minor
> 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