One thing to note though is that akka-actor specifically avoided inclusion of 
any logging framework, thus this own implementation.
It's about dependencies, as I remember, not about us not liking slf4j :)

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Lightbend

On 31 March 2016 at 09:13:36, Patrik Nordwall ([email protected]) wrote:

Sounds interesting. I will take a look, but no time this week.
Regards,
Patrik

On Fri, Mar 25, 2016 at 7:42 PM, Pedro Larroy <[email protected]> 
wrote:
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Patrik Nordwall
Akka Tech Lead
Lightbend -  Reactive apps on the JVM
Twitter: @patriknw



--
>>>>>>>>>> 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 https://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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to