-
Notifications
You must be signed in to change notification settings - Fork 7
SLF4J to Log4j Bridge missing #21
Comments
Where does that error message come from? |
When starting the application. I presume when SLF4J is being initialized. This is the full log upon application startup:
After I added the Log4J2 - SLF4J bridge:
See also here: http://www.slf4j.org/codes.html#StaticLoggerBinder |
Why is SLF4J used at all? This project is about Log4j. Could you please track down where in your app SLF4J is used? If you added it, please remove it or use that bridge, but in that case there's no need to add the bridge to this project. |
Well, if I'm not mistaken then Akka Logging is depending on SLF4J as facade for other logging implementations; http://doc.akka.io/docs/akka/2.4.1/java/logging.html#SLF4J I don't fully understand why its still using Log4J to output the logging, so I'll look into that. But normally the bridge would always be necessary. |
No, Akka is flexible with regard to logging backends. SLF4J is just one option as is Log4j. Please read the docs carefully ;-) Which logging backend library are you using? |
Hi,
When adding akka-log4j I'm receiving the following error message:
This can be easily fixed by adding the following dependency:
It prevents other projects from having to add this library themselves.
BR,
Miel
The text was updated successfully, but these errors were encountered: