Hi,
I tried to use the LOG_DEBUG macros in my device server. But they never work as they write for every format specifier just spaces.
Now I tried the tango-test package from debian jessie(stable) and on executing that I get:
1453759720 [140389277255488] INFO tangotest/tt/1 TangoTest::init_device::init device
Ready to accept request
1453759720 [140389141108480] INFO tangotest/tt/1 TangoTest::always_executed_hook() TangoTest/tt/1
1453759720 [140389141108480] INFO tangotest/tt/1 TangoTest::always_executed_hook() TangoTest/tt/1
1453759720 [140389141108480] INFO tangotest/tt/1 TangoTest::always_executed_hook() TangoTest/tt/1
1453759720 [140389141108480] INFO tangotest/tt/1 TangoTest::always_executed_hook() TangoTest/tt/1
And TangoTest does the following:
TangoTest.cpp: LOG_INFO(("TangoTest::init_device::init device %s", device_name.c_str()));
TangoTest.cpp: LOG_DEBUG(("In read_attr_hardware for %d attributes",attr_list.size()));
which according to documentation is correct. So I don’t seem to do anything particularly wrong.
Do I have to initialize something, somehow? Is that a plain bug? I can of course switch to debug streams but they are less nice to use.
Thanks,
Thomas