This post was sent incautiously ...
anyway the problem is actor.event.logging never pick up the logback.xml
I have initialized the ActorSystem via val system = ActorSystem("root", 
ConfigFactory.load)

在 2016年5月24日星期二 UTC+8上午1:54:25,xsy...@gmail.com写道:
>
> I am using akka 2.3.15 with maven, akka-slf4j and logback
>
> The logs inside actor receive method is working, but the logging pattern 
> never changes no matter how I change the logback.xml
>
> Log inside actor: [INFO] [05/24/2016 01:39:48.803] 
> [Main-akka.actor.default-dispatcher-3] [akka://Main/user/Main] ...
>
> my logback.xml
> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
> <encoder>
> <pattern>%date{YYYY-MM-dd HH:mm:ss} %-5level %logger : %msg%n</pattern>
> </encoder>
> </appender>
>
>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to