ros log: named and stderr
I'm trying to better understand the ROS console and logging. I have two issues -- named logs and stderr logs -- that might have a related root cause.
- OS: Ubuntu 14.04.4
- ROS release: indigo
Named Logs
I would like to use a named stream but I never see the named log file in ~/.ros/log
as I would expect. Instead I see nodename-2-stdout.log
. The documentation for NAMED logs is here but I'm not sure if I'm missing something or it has changed.
I still see the INFO and DEBUG prints in nodename-2-stdout.log
from ROS_DEBUG_STREAM_NAMED or ROS_INFO_STREAM_NAMED but no mention anywhere of the name I used. Are these NAMED, INFO and DEBUG prints supposed to end up in a named log file in ~/.ros/log
?
STDERR
The Logging Output Documentation describes stderr
and stdout
to the log file according to the table and text. I only see a node log file appended with stdout.log
. stderr
(e.g. ERROR) seems to be printed to my rosout.log
. Should I have a nodename.log
containing stderr
and stdout
or is my setup somehow configured to only output the node log with stdout
output?