Hello,
I am using a simple configuration:
DBusMessaging::DBusMessaging(string connection_name){
//initialize logger
//TODO move outside the constructor
logger = log4cxx::Logger::getLogger("DBus Messaging singleton " );
BasicConfigurator::configure();
....
and the logging output is being duplicated like this:
0 [0xb7f37700] DEBUG DBus Messaging singleton null - Connecting to DBUS...
0 [0xb7f37700] DEBUG DBus Messaging singleton null - Connecting to DBUS...
6 [0xb7f37700] DEBUG DBus Messaging singleton null - Connected with name to
D-BUS with pa.controller
6 [0xb7f37700] DEBUG DBus Messaging singleton null - Connected with name to
D-BUS with pa.controller
This happens with every class that I am using log4cxx with (for some I get 4
lines of output). Is this normal behaviour
or am I doing something wrong ?
Thanks,
Vasile