Michael,

Are you sure about that, i'm getting the same thread id every time i run the 
app. Even if I reboot the machine I get the same thread id. That doesn't make 
since.

JD

-----Original Message-----
From: Michaël CATANZARITI [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 27, 2004 12:24 PM
To: Log4CXX User
Subject: Re: Thread Name Issues


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