You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by xu...@altern.org on 2008/04/17 19:18:49 UTC

0xbogus as thread name ?

Hi,

I have just upgraded from log4cxx-0.9.7 to log4cxx-0.10.0.
I am using Linux and in my main function I am calling
BasicConfigurator::configure();

I am now seeing strange things in log4cxx output : the thread name [%t] 
is now displayed as [0xbogus %p]

For example:
-> log4cxx-0.9.7 : 1464 [3070600896] INFO ServerQtConfigManager  - 
Config : is valid : 1
-> log4cxx-0.10.0 : 374 [0xbogus %p] INFO ServerQtConfigManager null - 
Config : is valid : 1

Is this behaviour normal ?


I noticed something else too : compilation of my application now issue 
this warning:
/usr/local/include/log4cxx/helpers/objectptr.h: In copy constructor 
‘log4cxx::helpers::ObjectPtrT<T>::ObjectPtrT(const 
log4cxx::helpers::ObjectPtrT<T>&) [with T = log4cxx::Logger]’:
ire_common/IRE_Object.cpp:32:   instantiated from here
/usr/local/include/log4cxx/helpers/objectptr.h:74: warning: base class 
‘class log4cxx::helpers::ObjectPtrBase’ should be explicitly initialized 
in the copy constructor

Maybe this is related ?


Many thanks for your help,
Xunile