[
https://issues.apache.org/jira/browse/PHOENIX-6520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kiran Kumar Maturi updated PHOENIX-6520:
----------------------------------------
Parent: PHOENIX-5974
Issue Type: Sub-task (was: New Feature)
> Support for logging QueryId
> ----------------------------
>
> Key: PHOENIX-6520
> URL: https://issues.apache.org/jira/browse/PHOENIX-6520
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Kiran Kumar Maturi
> Assignee: Kiran Kumar Maturi
> Priority: Major
>
> 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)