Skip to content

Configure Java Util Logging bridge #94613

@rjernst

Description

@rjernst

Elasticsearch uses log4j as its logger. java.util.logging may be used by some dependencies (eg Lucene now uses it in some places). Currently these log messages are captured by our stdout/stderr -> log4j because java.util.logging has a default implementation which writes to stdout/stderr.

log4j includes a bridge jar that configures java.util.logging to go directly to log4j logging. Using that bridge is superior to capturing the same log messages on stdout/stderr because it provides better control over muting classes or packages log messages. We should consider adding the java.util.logging bridge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions