Hi,

What do you expect to synchronize? writing into the buffer or file?
The answer is also YES:
http://apache-logging.6191.n7.nabble.com/thread-safe-log4cxx-td32766.html

If you want you may output the thread id and see that for all your 100+
threads everything works:
http://stackoverflow.com/questions/9246677/c-thread-name-map-and-log4cxx
or
http://stackoverflow.com/questions/9082413/add-process-id-to-log-file-name-in-log4cxx
or
http://stackoverflow.com/questions/4286089/how-to-log-process-id-using-log4cxx-or-log4j

So, as a conclusion, a simple YES!
Alex

On Wed, Jun 26, 2013 at 7:14 PM, Pedro Lamarão <pedro.lama...@prodist.com.br
> wrote:

> Hi,
>
> can anyone share information on usage of log4cxx in systems with 100+
> concurrent threads?
>
> We have so far not seen anything wrong, but we have also found very
> little explicit thread synchronization in the code base.
>
> Is log4cxx::LogManager etc. thread safe?
>
>
> --
> Pedro Lamarão Rosa e Silva
> Prodist Technologies
> http://www.prodist.com.br/
> "Securing Transaction Systems"
> Tel.: (21) 4062-7188
>
>

Reply via email to