Kiran Kumar Maturi created PHOENIX-6520:
-------------------------------------------

             Summary: Support for logging QueryId 
                 Key: PHOENIX-6520
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6520
             Project: Phoenix
          Issue Type: New Feature
            Reporter: Kiran Kumar Maturi
            Assignee: Kiran Kumar Maturi


For a Heavily loaded cluster phoenix client makes lot of queries. Currently it 
is very difficult to know which query failed and what happened with the 
request. Logging a 
queryId([PHOENIX-5974|https://issues.apache.org/jira/browse/PHOENIX-5974])  
along with the logs can help us to better debug. This feature will be config 
based.

I am planning to use [log4j Thread Context | 
https://logging.apache.org/log4j/2.x/manual/thread-context.html] to store the 
queryId and modify the log 
[pattern|https://github.com/apache/phoenix/blob/master/phoenix-pherf/config/log4j.properties]
 to show queryId when the feature is enabled



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to