[slf4j-user] JUL logs still going to the console
Philippe Frangioni
phil at linxo.com
Tue May 4 12:21:18 CEST 2010
Hi all,
I'm working on a Java Application (not a web application) which uses log4j.
But there is a dependency on org.jdesktop package, and this package uses
java.util.logging.
As we want all our logging to go to files and to follow the log4j
configuration, we decided to use the jul-to-slf4j bridge and the log4j
implementation of slf4j.
This way, the logs from our code is still "simply" logged with log4j and the
logs from the org.jdesktop package are routed to slf4j, which actually
"send" them to log4j as well.
This is working fine, all the logs are making it to the log files. The only
problem is that the JUL logs are still going to the console (so they go to
both the console and the log files), and we would like to avoid it.
Any idea on how to do that?
Thanks,
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20100504/800d9e56/attachment.html>
More information about the slf4j-user
mailing list