[ 
https://issues.apache.org/jira/browse/HBASE-27762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Dimiduk updated HBASE-27762:
---------------------------------
    Release Note: 
<!-- markdown -->
Log the `o.a.h.hbase.executor.EventType` and ProcedureV2 pid in log messages 
via MDC. PatternLayouts on master and branch-2 have been updated to make use of 
the MDC variables. Note that due to LOG4J2-3660, log lines for which the MDC is 
empty will have extraneous characters. To opt-in on branch-2.5 or branch-2.4, 
make an appropriate change to `conf/log4j2.properties`.

  was:
<!-- markdown -->
Log the `o.a.h.hbase.executor.EventType` and ProcedureV2 pid in log messages 
via MDC. Note that due to LOG4J2-3660, log lines for which the MDC is empty 
will have extraneous characters. Thus the feature is not enabled by default. To 
opt-in, make an appropriate change to `conf/log4j2.properties`.


> Include EventType and ProcedureV2 pid in logging via MDC
> --------------------------------------------------------
>
>                 Key: HBASE-27762
>                 URL: https://issues.apache.org/jira/browse/HBASE-27762
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.6.0, 3.0.0-alpha-4, 2.5.3, 2.4.17
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>            Priority: Major
>             Fix For: 3.0.0-alpha-4
>
>
> Tracing the distributed actions of ProcedureV2 {{RemoteProcedure}} execution 
> is painful. We are pretty good about logging the {{proc_id}} most of the 
> time, but we don't catch them all. Now that we're up on log4j2, let's use the 
> MDC feature to include some basic information universally.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to