Skip to content

Commit

Permalink
HBASE-27762 Include EventType and ProcedureV2 pid in logging via MDC …
Browse files Browse the repository at this point in the history
…(addendum)

Make use of `%notEmpty` pattern with MDC logging. Will function as expected once we upgrade to
Log4J 2.21.0+.
  • Loading branch information
ndimiduk committed Apr 28, 2023
1 parent 6b8a992 commit d8145ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hbase-logging/src/test/resources/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ appender.console.target = SYSTEM_ERR
appender.console.name = Console
appender.console.maxSize = 1G
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{ISO8601} %-5p [%t (%X)] %C{2}(%L): %m%n
appender.console.layout.pattern = %d{ISO8601} %-5p [%t%notEmpty{ %X}] %C{2}(%L): %m%n

rootLogger = INFO,Console

Expand Down

0 comments on commit d8145ed

Please sign in to comment.