Skip to content

Excessive log output if an open tracing feature is enabled without an OpentracingTracerFactory #2928

@kgibm

Description

@kgibm

If the features opentracing-1.0, mpOpenTracing-1.0 or microProfile-1.3 are enabled without the required user feature providing the OpentracingTracerFactory, then there will be three error messages for each JAX-RS request (along with one FFDC):

[ERROR   ] CWMOT0001E: Invocation of user supplied OpentracingTracerFactory.newInstance(...) method failed with Exception. Message = null
[ERROR   ] CWMOT0002E: No Tracer is available for an inbound request. The inbound request will not be correlated with the upstream service.
[ERROR   ] CWMOT0003E: The Span created for an inbound request is not available for the response to the request. The inbound request will not be correlated the upstream service.

This is excessive and floods the logs proportional to JAX-RS workload.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions