grpc smoke test: Add logging of trace_id to pattern and target log4j2 2.13.2 (#2406)
* Add logging of trace_id to pattern and target 2.14.0 * Update build.gradle
This commit is contained in:
parent
c4a11549b2
commit
9d47f9272b
|
|
@ -21,7 +21,7 @@ repositories {
|
|||
dependencies {
|
||||
implementation platform("io.grpc:grpc-bom:1.33.1")
|
||||
implementation platform("io.opentelemetry:opentelemetry-bom:0.17.0")
|
||||
implementation platform("org.apache.logging.log4j:log4j-bom:2.13.3")
|
||||
implementation platform("org.apache.logging.log4j:log4j-bom:2.13.2")
|
||||
|
||||
implementation "io.grpc:grpc-netty-shaded"
|
||||
implementation "io.grpc:grpc-protobuf"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="Console" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} trace_id=%X{trace_id} span_id=%X{span_id} - %msg%n"/>
|
||||
</Console>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
|
|
|
|||
Loading…
Reference in New Issue