Re: [akka-user] Order of log lines is mixed when 3rd party logs write directly to SLF4J

2017-06-19 Thread Natanel Savion
Thanks for the quick response! On Monday, June 19, 2017 at 4:33:50 PM UTC+3, Konrad Malawski wrote: > > You can always just us slf4j directly - use an async appender in the impl > (logback2 AFAIR provides one and others as well) and you're good. > > There's no requirement to use ActorLogging,

Re: [akka-user] Order of log lines is mixed when 3rd party logs write directly to SLF4J

2017-06-19 Thread Konrad Malawski
You can always just us slf4j directly - use an async appender in the impl (logback2 AFAIR provides one and others as well) and you're good. There's no requirement to use ActorLogging, we only have it to not depend on a specific logging API in akka-actor itself. -- Konrad `ktoso` Malawski Akka

[akka-user] Order of log lines is mixed when 3rd party logs write directly to SLF4J

2017-06-19 Thread Natanel Savion
Hi, While using in akka's infrastructure (akka.event.Logging), log lines are written asynchronously. If 3rd party code that writes directly to SLF4J runs within the context of an actor, this can lead to condition where akka code performed before the 3rd party code only gets logged after the 3rd