Hi, In trying to move to slf4j/logback I encountered an error when I removed log4j from the cp:
09:53:50.297 [main] ERROR org.mortbay.log - failed LiftFilter java.lang.NoClassDefFoundError: org/apache/log4j/LogManager at net.liftweb.util.LogBoot$.log4jIsConfigured$1(Log.scala:113) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$._log4JSetup(Log.scala:129) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:95) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$$anonfun$2.apply(Log.scala:95) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$.checkConfig(Log.scala:93) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$.net$liftweb$util$LogBoot$$_logger(Log.scala:139) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:141) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.util.LogBoot$$anonfun$3.apply(Log.scala:141) [lift-util-1.1-SNAPSHOT.jar:na] at net.liftweb.http.LiftRules$.<init>(LiftRules.scala:654) [lift-webkit-1.1-SNAPSHOT.jar:na] I would seem that the Comet logger is initialised before lift is booted (and thus using the default log config): from LiftRules: var cometLogger: LiftLogger = { val ret = LogBoot.loggerByName("comet_trace") ret.level = LiftLogLevels.Off ret } Shouldn't this initialization be moved to after lift is booted? /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@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 -~----------~----~----~----~------~----~------~--~---