Skip to content

[BUG] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" #6663

@LHozzan

Description

@LHozzan

Describe the bug
On fresh start OpenSearch are generated the lines:

main {"type": "logging", "timestamp": "2023-03-06T11:57:13,242Z", "level": "WARN", "component": "stderr", "cluster.name": "opensearch", "node.name": "os-datanode-0", "message": "SLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\"." }
main {"type": "logging", "timestamp": "2023-03-06T11:57:13,244Z", "level": "WARN", "component": "stderr", "cluster.name": "opensearch", "node.name": "os-datanode-0", "message": "SLF4J: Defaulting to no-operation (NOP) logger implementation" }
main {"type": "logging", "timestamp": "2023-03-06T11:57:13,244Z", "level": "WARN", "component": "stderr", "cluster.name": "opensearch", "node.name": "os-datanode-0", "message": "SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details." }

But OpenSearch working fine.

To Reproduce
Just start OpenSearch instance and check log.

Expected behavior
The warning lines not be generated. It is confusing looking to warnings and OpenSearch works fine.

Host/Environment (please complete the following information):

  • K8s (v1.24.4)
  • AWS, Kind

Additional context
I found question in the forum, but not be answered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PluginsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions