Hello Jon,

log4cxx ouputs the thread identifier (cf. function pthread_self)
You can get the same id for the main thread, if you execute a test program several times.
But if you have two or more threads, you should get different ids.


Michaël

Dahl, Jon wrote:

For some reason, log4cxx always outputs the same value for %t. In my
case on the version of Linux I am using, it outputs 8192.

Has anyone else come across this problem before? Is there something I
may not be doing in the config/code?

This is the only thing keeping me from using this lib in our production
code.

Thanks,

JD







Reply via email to