Martynas, What if I want akka to just log to stdout and not do anything special?
On Tuesday, June 17, 2014 2:06:30 AM UTC-4, Martynas Mickevičius wrote: > > Hi Troy, > > Do you have logging back end dependency in your project? > > Documentation recommends logback: > http://doc.akka.io/docs/akka/snapshot/java/logging.html#slf4j > 2014 birž. 17 01:54 "Troy Payne" <[email protected] <javascript:>> rašė: > >> Hello, >> >> I'm having trouble resolving the following: >> >> 1. Waiting for source changes... (press enter to interrupt) >> >> c0smo [DEBUG] [06/16/2014 21:22:08.758] [main] [EventStream] >> StandardOutLogger started >> >> c0smo[ERROR] SLF4J: Failed to load class >> "org.slf4j.impl.StaticLoggerBinder". >> >> c0smo[ERROR] SLF4J: Defaulting to no-operation (NOP) logger >> implementation >> >> c0smo[ERROR] SLF4J: See >> http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. >> >> c0smo [DEBUG] [06/16/2014 21:22:10.820] [main] >> [EventStream(akka://c0smo)] logger log1-Slf4jLogger started >> >> c0smo[ERROR] SLF4J: Failed to load class >> "org.slf4j.impl.StaticMDCBinder". >> >> c0smo[ERROR] SLF4J: Defaulting to no-operation MDCAdapter implementation. >> >> c0smo [DEBUG] [06/16/2014 21:22:10.968] [main] >> [EventStream(akka://c0smo)] Default Loggers started >> >> c0smo[ERROR] SLF4J: See >> http://www.slf4j.org/codes.html#no_static_mdc_binder for further details. >> >> c0smo[ERROR] Uncaught error from thread >> [c0smo-akka.actor.default-dispatcher-5] shutting down JVM since >> 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[c0smo] >> >> c0smo[ERROR] java.lang.AbstractMethodError >> >> c0smo[ERROR] at akka.actor.ActorCell.create(ActorCell.scala:580) >> >> c0smo[ERROR] at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456) >> >> c0smo[ERROR] at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478) >> >> c0smo[ERROR] at >> akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263) >> >> c0smo[ERROR] at akka.dispatch.Mailbox.run(Mailbox.scala:219) >> >> c0smo[ERROR] at >> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) >> >> c0smo[ERROR] at >> scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) >> >> c0smo[ERROR] at >> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) >> >> c0smo[ERROR] at >> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) >> >> c0smo[ERROR] at >> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) >> >> c0smo ... finished with exit code 255 >> >> >> >> I'm not sure why, but I can't get my logger to work. Here's what a >> snippet of my Build.scala looks like >> >> "com.typesafe.akka" % "akka-actor_2.10" % "2.3.3" % "compile", >> "com.typesafe.akka" % "akka-contrib_2.10" % "2.3.3" % "compile", >> "com.typesafe.akka" % "akka-testkit_2.10" % "2.3.3" % "test", >> "com.typesafe.akka" % "akka-camel_2.10" % "2.3.3" % "compile", >> "com.typesafe.akka" % "akka-slf4j_2.10" % "2.3.3" % "compile", >> >> Can someone help? Thanks! >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to the Google Groups >> "Akka User List" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
