Hi,

I've read thorough the instructions under the logging chapter of the Akka 
manual(Java API in this case) and it seems like what it requires is 
directly using the akka.event.Logging and akka.event.LoggingAdapter classes.
(BTW Suspecting I might have missed something in the documentation, I 
looked for a StaticLoggerBinder class inside the akk-slf4j jar, but 
couldn't find one.)

So I'm wondering if there's a way to avoid this and only use the SLF4J API.
My motivation for doing this is:

   1. I'll have a single logging API used throughout the application
   2. SLF4J actual implementation can be replaced more easily than when 
   having Akka hard-coded everywhere.
   3. Other parts of the application which may not even be aware of running 
   inside an Akka actor system and are already using the SLF4J API, will 
   automatically be switched to using the AKKA implementation.

As it currently stands I can only make parts of the application use Akka 
logging, while other parts will use some other logging framework's 
asynchronous logging and all which that entails (extra threads, locks, etc.)



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

Reply via email to