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

SLF4J log error in stdout console #255

Open
mcinquin opened this issue Jul 24, 2017 · 12 comments
Open

SLF4J log error in stdout console #255

mcinquin opened this issue Jul 24, 2017 · 12 comments

Comments

@mcinquin
Copy link

Hello,

With ROR 1.16.8 and 1.16.9-pre4, i have a SLF4J log error in stdout console for each elasticsearch restart (ES 5.5.0 and Ubuntu 14.04).

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

How to fix that ?

Thanks.

@sscarduzio
Copy link
Owner

Thanks for reporting @Shini31, this is fixed missing dependency, will be on the next stable release.
If you notice anything else, let me know!

@mcinquin
Copy link
Author

mcinquin commented Jul 24, 2017

Thanks for you work and your reactivity!

@chaimyom
Copy link

Hello,

I have the same issue, on version 5.3.0, did you fix this on this version too?

Thanks.

sscarduzio added a commit that referenced this issue Jul 31, 2017
@r-m-n
Copy link

r-m-n commented Aug 2, 2017

Hello,

The same issue with ROR 1.16.9 and ES 5.5.1

@sscarduzio
Copy link
Owner

Yes. Unfortunately I had to revert this because it was causing all kind of issues preventing ES to even start. Very sorry :(

I spent half an hour on this, but still couldn't figure it out. Feel free to experiment with adding/removing jars in your ES installation to find a working combination! I'll come back to this in the future (as it doesn't really look as a blocker).

@sscarduzio sscarduzio reopened this Aug 2, 2017
@abdox2
Copy link

abdox2 commented Nov 21, 2017

Adding "slf4j-simple-1.7.25.jar" to the zip readonlyrest-plugin and reinstall solve the problem.

http://www.slf4j.org/download.html

@sscarduzio
Copy link
Owner

@abdox2 can you fix this at gradle level in ROR?

@abdox2
Copy link

abdox2 commented Nov 22, 2017

it's been fixed c08cd63 and revert 0179bbd for some reason. for me it's works just fine with the slf4j-simple.

Readonlyrest 1.16.13
Elasticsearch 5.6.4
Ubuntu 16.04.3

@sscarduzio
Copy link
Owner

guys, I think I solved this, can you also check? (1.16.15 is out now)

@kvaapagarrot
Copy link

kvaapagarrot commented Jun 17, 2019

hi, i have the same issue but with ROR 1.18.1_es6.8.0
i added into zip slf4j-simple-1.7.25.jar and reinstall plugin but it doesn't help anyway

UPD: i just downloaded a sources and compilated this one. Then it works fine

@drdev
Copy link

drdev commented May 29, 2020

Still happening on newest version available:

Plugin information:

Plugins directory: /usr/share/elasticsearch/plugins
readonlyrest
- Plugin information:
Name: readonlyrest
Description: Safely expose Elasticsearch REST API
Version: 1.19.5
Elasticsearch Version: 7.7.0
Java Version: 1.8
Native Controller: false
Extended Plugins: []
 * Classname: tech.beshu.ror.es.ReadonlyRestPlugin

Logs messages:

[2020-05-29T10:01:26,952][INFO ][o.e.n.Node               ] [server.local]started
[2020-05-29T10:01:44,948][INFO ][t.b.r.b.Ror$             ] [server.local]Loading ReadonlyREST settings from index failed: cannot find index
[2020-05-29T10:01:44,949][INFO ][t.b.r.b.Ror$             ] [server.local]Loading ReadonlyREST settings from file: /etc/elasticsearch/readonlyrest.yml
[2020-05-29T10:01:45,906][WARN ][stderr                   ] [server.local]SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[2020-05-29T10:01:45,906][WARN ][stderr                   ] [server.local]SLF4J: Defaulting to no-operation (NOP) logger implementation
[2020-05-29T10:01:45,906][WARN ][stderr                   ] [server.local]SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

@askids
Copy link

askids commented Nov 21, 2020

I encountered this same error today when running ES v7.8.1 with 1.24.0 of free ROR ES plugin.

Repository owner deleted a comment Mar 4, 2024
Repository owner deleted a comment Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants