[ 
https://issues.apache.org/jira/browse/CASSANDRA-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861183#comment-13861183
 ] 

Sean Bridges commented on CASSANDRA-6456:
-----------------------------------------

New patch attached.

{quote}
I think we should change the format to a single line (helps when grep'ing) to a 
single line (see this gist)
{quote}

Changed to log on a single line with slightly modified format to be consistent 
with other log lines. 

{quote}
For the original intent of this JIRA I think we need to add a call to get 
address or something. As the IP's in the yaml can be left blank.
{quote}

I added a line to log InetAddress.getLocalHost() on startup in case listen 
address is not set


{quote}
I think this makes some ad-hoc config logging redundant as well?
{quote}

A couple of log lines were removed with the original patch, let me know if 
there are more to remove.


> log listen address at startup
> -----------------------------
>
>                 Key: CASSANDRA-6456
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6456
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>            Reporter: Jeremy Hanna
>            Assignee: Sean Bridges
>            Priority: Trivial
>         Attachments: CASSANDRA-6456-2.patch, CASSANDRA-6456.patch
>
>
> When looking through logs from a cluster, sometimes it's handy to know the 
> address a node is from the logs.  It would be convenient if on startup, we 
> indicated the listen address for that node.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to