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 party log due to the time it takes the logs to be written async.
Was wondering if someone else may have encountered this problem and came-up with some solution.
Currently, we are considering writing all our logs directly to SLF4J to avoid this issue (the SLF4J back-end can be configured with an async appender to provide similar functionality).
Thanks,
Nati