[
https://issues.apache.org/jira/browse/PHOENIX-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17749508#comment-17749508
]
ASF GitHub Bot commented on PHOENIX-1198:
-----------------------------------------
stoty closed pull request #21: Added custom annotations to logs in
query-related functionality in client- and server-side code for PHOENIX-1198
URL: https://github.com/apache/phoenix/pull/21
> Add ability to pass custom annotations to be added to log lines
> ---------------------------------------------------------------
>
> Key: PHOENIX-1198
> URL: https://issues.apache.org/jira/browse/PHOENIX-1198
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Eli Levine
> Assignee: Eli Levine
> Priority: Major
> Fix For: 4.1.0
>
>
> Users need a way to associate log lines emitted by Phoenix with other logs
> generated by higher levels of applications. This JIRA calls for allowing
> callers to pass custom annotations to Phoenix connections. The mechanism for
> passing in these annotations is the same as PHOENIX-1196. Phoenix will look
> for properties that start with "phoenix.annotation." and use them when
> generating log lines.
> e.g. If a connection was created with a property
> +phoenix.annotation.userid=123+ Phoenix would emit log lines that would look
> like this: {code}{userid=123} some log line{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)