B4J Question SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

Didier9

Well-Known Member
Licensed User
Longtime User
I had previously asked about how to eliminate this annoying message. Erel at the time responded not to worry about it but I find this warning distracting (I get it each time I run the app in debug mode).
It didn't use to be there until a year or two ago.
Why is it shown and what can I do to get rid of it?
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Several major libraries has as a dependency a library called SLF4J that is a logging library (no idea exactly what it does)

For me the library is HikariCP but it is a pretty common dependency.
 
Upvote 0

tchart

Well-Known Member
Licensed User
Longtime User
@Didier9 just be aware that including the slfj library can affect logging of your own application. You can end up in a situation where your own log messages will no longer log or you will get additional verbose messaging from the library that is using slfj. This was what I encountered with one library.
 
Upvote 0

Didier9

Well-Known Member
Licensed User
Longtime User
Ok, thank you. That's a bummer... I just would like to eliminate the error message. It's annoying and distracting. I am open to suggestions.
 
Upvote 0

tchart

Well-Known Member
Licensed User
Longtime User
Ok, thank you. That's a bummer... I just would like to eliminate the error message. It's annoying and distracting. I am open to suggestions.

Its worth trying out options, that was just my experience.
 
Upvote 0
Top