Hi,

That sounds strange. They all use the same mechanism to publish log events, and 
the akka.event.slf4j.Slf4jLogger is just an event listener that log what it 
receives.

Does this happen for all the autoreceive messages, or just during startup when 
some of them will go to standar out using the StandardOutLogger?

B/

On 7 February 2014 at 10:53:35, Selim Öber ([email protected]) wrote:

Hi Oleg,

Yes, and as I mentioned, I'm able to use it for regular actor and non-actor 
logging. Logging goes through slf4j when I log from an actor for example, no 
problem on that. 

Thanks

On Wednesday, February 5, 2014 2:35:52 PM UTC+2, Oleg Zhurakousky wrote:
Have you tried to override the logger with:

loggers = ["akka.event.slf4j.Slf4jLogger"]

Cheers
Oleg


On Wed, Feb 5, 2014 at 7:28 AM, Selim Öber <[email protected]> wrote:
Hi,

I'm using Slf4j (with logback) for both actor and non-actor logging.
But I noticed that when auxiliary logging options are used, like:

akka {
  actor {
    debug {
      # enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill et.c.)
      autoreceive = on
    }
  }
}

these messages bypass slf4j and I guess akka.event.Logging$DefaultLogger  is 
used.

How can make these covered by slf4j?

Thanks
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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/groups/opt_out.

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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/groups/opt_out.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      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/groups/opt_out.

Reply via email to