[slf4j-user] Missing Log4j Messages

Chris Pratt thechrispratt at gmail.com
Wed Jul 27 19:16:05 CEST 2011


I am in the process of switching our massive project over from a collection
of disjointed loggers (Log4j, JUL, JCL...) to SLF4j with a Logback engine.
 I've gotten everything to work, except my Log4j messages don't actually end
up in the log file.

I've removed all instances of log4j*.jar and commons-logging*.jar and
replaced them with:

   - jcl-over-slf4j-1.6.1.jar
   - jul-to-slf4j-1.6.1.jar
   - log4j-over-slf4j-1.6.1.jar
   - slf4j-api-1.6.1.jar
   - logback-access-0.9.29.jar
   - logback-classic-0.9.29.jar
   - logback.core-0.9.29.jar

I'm fairly confident I've removed all the jar files with log4j in their
names from the vicinity.  Now I'm definitely seeing Commons Logging
statements in the log file.  I'm pretty sure I'm seeing the
java.util.logging statements as well, but I'm definitely not seeing the
Log4j statements.  What could be eating these statements without any
warnings or errors?
  (*Chris*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20110727/04abd94c/attachment-0001.html>


More information about the slf4j-user mailing list