Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" when adding repository-s3 #16152

Closed
Pigueiras opened this issue Oct 1, 2024 · 0 comments · Fixed by #16194
Labels
bug Something isn't working Plugins v2.18.0 Issues and PRs related to version 2.18.0 v3.0.0 Issues and PRs related to version 3.0.0

Comments

@Pigueiras
Copy link

Describe the bug

It's related to the #6663 issue. Whenever you add the repository-s3 plugin you can see the following warnings when restarting the OS service:

[2024-10-01T14:20:57,070][WARN ][stderr                   ] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[2024-10-01T14:20:57,071][WARN ][stderr                   ] SLF4J: Defaulting to no-operation (NOP) logger implementation
[2024-10-01T14:20:57,071][WARN ][stderr                   ] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

I guess the fix would be similar to what was done in: opensearch-project/security#2564

Related component

Plugins

To Reproduce

  1. Install opensearch RPM
  2. /usr/share/opensearch/bin/opensearch-plugin install repository-s3
  3. Restart opensearch
  4. You can find the warnings in the logs

Expected behavior

No warnings about SLF4J

Additional Details

Plugins
Default + repository-s3

Host/Environment (please complete the following information):

  • OS: AlmaLinux 9
  • Version v2.17.0
@Pigueiras Pigueiras added bug Something isn't working untriaged labels Oct 1, 2024
@reta reta added v3.0.0 Issues and PRs related to version 3.0.0 v2.18.0 Issues and PRs related to version 2.18.0 and removed untriaged labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Plugins v2.18.0 Issues and PRs related to version 2.18.0 v3.0.0 Issues and PRs related to version 3.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants