]
James Perkins commented on WFLY-10919:
--------------------------------------
Okay. I'll assign this to myself and get a PR into today for it then.
INFO message Initialized tracer=JaegerTracer is too verbose
-----------------------------------------------------------
Key: WFLY-10919
URL:
https://issues.jboss.org/browse/WFLY-10919
Project: WildFly
Issue Type: Bug
Components: MP OpenTracing
Reporter: Jan Stourac
Assignee: Juraci Paixão Kröhling
Priority: Major
Following log message is logged during the deploy operation of a deployment:
{code}
10:52:11,703 INFO [io.jaegertracing.Configuration] (ServerService Thread Pool -- 72)
Initialized tracer=JaegerTracer(version=Java-0.30.6, serviceName=helloworld-rs.war,
reporter=RemoteReporter(sender=UdpSender(), closeEnqueueTimeout=1000),
sampler=RemoteControlledSampler(maxOperations=2000,
manager=HttpSamplingManager(hostPort=localhost:5778),
sampler=ProbabilisticSampler(tags={sampler.type=probabilistic, sampler.param=0.001})),
tags={hostname=dhcp-10-40-5-80.brq.redhat.com, jaeger.version=Java-0.30.6, ip=10.40.5.80},
zipkinSharedRpcSpan=false, expandExceptionLogs=false)
{code}
This information is too verbose for INFO level. I propose to do one of following:
# Remove this log message from INFO level - note that very similar message is also logged
on DEBUG level:
{code}
10:52:11,714 DEBUG [org.wildfly.microprofile.opentracing.smallrye] (ServerService Thread
Pool -- 72) WFLYTRAC0001: Tracer initialized: JaegerTracer(version=Java-0.30.6,
serviceName=helloworld-rs.war, reporter=RemoteReporter(sender=UdpSender(),
closeEnqueueTimeout=1000), sampler=RemoteControlledSampler(maxOperations=2000,
manager=HttpSamplingManager(hostPort=localhost:5778),
sampler=ProbabilisticSampler(tags={sampler.type=probabilistic, sampler.param=0.001})),
tags={hostname=dhcp-10-40-5-80.brq.redhat.com, jaeger.version=Java-0.30.6, ip=10.40.5.80},
zipkinSharedRpcSpan=false, expandExceptionLogs=false)
{code}
# Simplify the log message on INFO level to something simple, like:
{code}
10:52:11,703 INFO [io.jaegertracing.Configuration] (ServerService Thread Pool -- 72)
Initialized tracer for service helloworld-rs.war
{code}
This issue is a followup of a WFLY-10904.