I just upgraded my code to M3 and also replaced my LOGGERs with the new Loggable trait. I am using LogBack (not Log4j).
I thought that with 2.0-M3, the following call would be deprecated and no longer necessary: Slf4jLogBoot.enable() Alas, I discovered that it is still mandatory, otherwise I get a NoClassDefFound exception for org.apache.log4j.Priority. I thought SLF4J was enabled already, so I don't know why I need to explicitly enable it. Secondly, if you read the Wiki: http://wiki.github.com/dpp/liftweb/logging-in-lift It says to exclude org.slf4j:slf4j-log4j12 from lift-mapper. But I noticed that it is lift-webkit that has the dependency (transitively from net.liftweb:lift-util) that needs to be excluded. As a result, I have this instead: <dependency> <groupId>net.liftweb</groupId> <artifactId>lift-webkit</artifactId> <version>2.0-M3</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> </exclusions> </dependency> I recommend updating the wiki entry. Thanks! -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.