Hello everybody.
Hello akka people, can you guys help me with that?
log4j:WARN No appenders could be found for logger
(akka.event.slf4j.Slf4jEventHandler).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
for more info.
I want to use the slf4j logger but i keep getting this warning, and it
does not work.
I'm puting a actor.jar on the deploy directory. The Akka version is
1.1.2.
The defaulListener is working fine.
My akka.conf file:
event-handlers = ["akka.event.EventHandler$DefaultListener",
"akka.event.slf4j.Slf4jEventHandler"]
event-handler-level = "INFO"
My dependencies:
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/
typesafe/releases"
{
val version = "1.1.2"
libraryDependencies ++= Seq("se.scalablesolutions.akka" % "akka-
actor" % version,
"se.scalablesolutions.akka" % "akka-remote" % version,
"se.scalablesolutions.akka" % "akka-slf4j" % version)
}
libraryDependencies += "ch.qos.logback" % "logback-classic" % "0.9.28"
% "runtime"
scala version = 2.9.1.
What am i missing?
Thanks a lot
--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.
Patrik Nordwall
Typesafe - Enterprise-Grade Scala from the Experts
Twitter: @patriknw
Le lundi 10 octobre 2011 à 22:35, Kuhnen a écrit :
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
> for more info.
Did you follow the link? You need a log4j.properties or log4j.xml at the root of the classpath.
Hope that helps,
François