rosconsole: log file bloated with ros topics, etc.
Hi,
When we are using ROS_DEBUG_STREAM()
macro, and the output is configured to screen, everything is fine. But when we configure it to log, and it goes to file, we get extremely bloated lines, like:
1530790045.295181299 DEBUG [/home/whoever/catkin_ws/src/module/src/basecontroller.cpp:175(SomeClass::setGoal) [topics: /rosout, /robotpose, /initialpose, /layers/sensors, /layers/plaser, /layers/plaser2, /layers/pultrasound, /layers/pcamera, /layers/cleaning, /hwctrl, /s_pi, /status/opbutton, /status/cleaned_sqm, /status/clean_rate, /status/clean_start, /status/hw_serial, /status/sw_version, /status/core_status, /status/alert, /twr, /mapfile, /layers/map, /layers/map_inflated, /layers/map_active, ...] SomeClass::setGoal(): new goal has been set (mx=446 my=308 theta=2.35619 speed=0)
instead of like:
1530790045.295181299 DEBUG SomeClass::setGoal(): new goal has been set (mx=446 my=308 theta=2.35619 speed=0)
Is there any way to force this behavior in log files?
Thanks!