Hi everybody,
Is getRootLogger() thread safe?
I am running into a situation where calling getRootLogger() concurrently
from many requests results in a EXC_BAD_ACCESS:
liblog4cxx.10.dylib`log4cxx::LogManager::getRootLogger():
0x101f180a0: pushq %rbp
0x101f180a1: movq %rsp, %rbp
0x101f180a4
Guten Tag Kaspar Fischer,
am Montag, 10. März 2014 um 03:20 schrieben Sie:
> Is getRootLogger() thread safe?
Looks like the same problem as in LOGCXX-394 to me.
https://issues.apache.org/jira/browse/LOGCXX-394
> RepositorySelectorPtr& LogManager::getReposito
014 at 12:20 AM, Thorsten Schöning
wrote:
> Guten Tag Kaspar Fischer,
> am Montag, 10. März 2014 um 03:20 schrieben Sie:
>
> > Is getRootLogger() thread safe?
>
> Looks like the same problem as in LOGCXX-394 to me.
>
> https://issues.apache.org/jira/browse/LOGCXX-3
Guten Tag Kaspar Fischer,
am Montag, 10. März 2014 um 18:32 schrieben Sie:
> Static local variables are not thread-safe so it looks to me as if
> you want to change that – from a user's perspective, it's nice to be
> able to assume that getRootLogger() is thread-safe. What do you think?
I tend to