DEV Community

Discussion on: My project on github.

Collapse
 
dagnelies profile image
Arnaud Dagnelies • Edited

One must be aware that the logging is not only done by your own code, but also by all the third party libraries used. Everyone logs stuff, using different logging frameworks, and yet you need your logging configuration to apply to all of them. If I change my logging level from WARN to DEBUG, I want all libs to pick it up, and not have one dependency ignore it because it uses a separate logging which requires its own distinct config.

Thread Thread
 
optijava profile image
OptiJava

I understand what you mean.If a dependency use logging framework A,but my project use logging framework B.If I want to apply my configuration to all dependency and my project,I have to create many configure files for all logging framework.
Thanks.

Thread Thread
 
201206030 profile image
xxyopen

As long as only the SLF4J API is used in the Java code, there will be no such problems