Hi there

I have been often frustrated by trying to combine traits that would use an 
slf4j logger inside Akka. First because if you mix ActorLogging the "log" 
is not compatibe with Slf4j Logger.

Second because if you use Slf4j logging inside your libraries and 
utilities, it will block your actors. So it's a conundrum to have reusable 
components that need to log which you might want to use with or without 
Akka.

I don't want my lower level components to depend on Akka or have an 
implicit actorsystem around just to log, but I want logging to be piped 
through Akka when I used them inside an Akka actor.

For that I have put together a small library that makes it very easy to use 
an Slf4j Adapter which will work both with Akka and with the normal Slf4j / 
logback without Akka.

You can find it here:

https://github.com/larroy/SLF4J_Akka_logging_adapter

Let me know what you think. 

I also think it would be great if one day it could be included in Akka, I 
don't believe I'm the only one with this problem.

Pedro.

-- 
>>>>>>>>>>      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