Skip to content

Instrument ecs-logging-java to set service name #1626

@felixbarny

Description

@felixbarny

When ecs-logging-java is used in an application, we should instrument the constructor of the formatter/encoder to set the service name that has been configured for the agent if it has not been explicitly set in the logging configuration.

Metadata

Metadata

Assignees

Labels

agent-javaenhancementEnhancement of an existing featureinstrumentationInstrumentation: framework support, custom plugins, ...loggingapplication logging instrumentation and support

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions