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::getRepositorySelector() {
>//
>// ca
Hi Thorsten,
Thanks a lot for the quick response! Unfortunately, we use a pre-built
package so I can't patch the code.
However, when I create a static variable
log4cxx::LoggerPtr log4cxx_root_logger = log4cxx::Logger::getRootLogger();
and use log4cxx_root_logger in my code (instead of
log4cxx
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