[
https://issues.apache.org/jira/browse/PHOENIX-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Levine resolved PHOENIX-1198.
---------------------------------
Resolution: Fixed
I have made a pass and added annotations to all log lines that are within the
scope of a user operation. This is currently done for (1) all existing (and a
few new one) client-side log lines, and (2) all existing server-side log lines
in code related to query execution.
More work is required around server-side code for indexes and upserts. I'll
file a separate JIRA for that.
> 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
> Fix For: 5.0.0, 4.1
>
>
> 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
(v6.3.4#6332)