I'm using log4j2 2.14.0
with armeria 1.3.0
. According to the armeria documentation, I could see RequestContext custom atrributes
can be exported using com.linecorp.armeria.common.logback.RequestContextExportingAppender
in logback configuration. So, I tried to configure it in log4j2.xml but it didn't work. Is there any way to use the atrributes for setting %X{some_value}
in log4j2.xml ? or Is it possible to use ThreadContext(like MDC) with armeria ?
Asked
Active
Viewed 141 times
0

chacha
- 23
- 3
1 Answers
1
Armeria currently doesn't have the Log4J2 version of RequestContextExportingAppender
yet. Please stay tuned by subscribing to this GitHub issue.

trustin
- 12,231
- 6
- 42
- 52