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

Stefania commented on CASSANDRA-8162:
-------------------------------------

Hi [~thobbs], can you give some more details on what we mean by "log client 
address in query trace"? 

Do we need to add a new event in the events table of the system_traces keyspace 
or just add the client IP address to the first line like so:

{code}
Tracing session: b66ef150-c24a-11e4-a915-e3263299699d

 activity                                                                       
                                       | timestamp                  | source    
| source_elapsed
-----------------------------------------------------------------------------------------------------------------------+----------------------------+-----------+----------------
                                                                                
     Execute CQL3 query from 127.0.0.1 | 2015-03-04 00:44:47.205000 | 127.0.0.1 
|              0
[...]
{code}

Or do we mean something completely different?

Thanks!

> Log client address in query trace
> ---------------------------------
>
>                 Key: CASSANDRA-8162
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8162
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Tyler Hobbs
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 2.1.4
>
>
> With probabilistic tracing, it can be helpful to log the source IP for 
> queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to