I had the same problem. I use play 2.2.1 (also tested with 2.2.2) and an updated version of akka 2.2.3 (But it also works with the version that comes with the game). It should also be noted that I use Java not Scala. Here is what I did.
application.conf:
akka { loggers = ["akka.event.slf4j.Slf4jLogger"] loglevel = "DEBUG" }
And in my logger.xml it looks like this:
<configuration> <conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel" /> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>${application.home}/logs/applicationmax.log</file> <encoder> <pattern>%date ---- [%level] -- %X{akkaSource} -- from %logger in %thread %n%message%n%xException%n</pattern> </encoder> </appender> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%coloredLevel %logger{15} - %message%n%xException{5}</pattern> </encoder> </appender> <logger name="play" level="DEBUG" /> <logger name="application" level="DEBUG" /> <logger name="actor" level="DEBUG" /> <root level="ERROR"> <appender-ref ref="STDOUT" /> <appender-ref ref="FILE" /> </root> </configuration>
The main thing to note is that I use the name of the root package, where the actors are my registrar. You can be as specific as you, for example com.actors or com.actors.someactors, etc.
You can see more in this google group thread in the play-framework group:
Make Akka aware of Play Play configuration
maxTrialfire
source share