missing ROS_ERR and ROS_FATAL from node log file

asked 2017-09-26 08:57:40 -0600

knxa gravatar image

updated 2017-11-16 01:38:30 -0600

I expected messages from ROS_ERR and ROS_FATAL to end up in the log files together with messages from ROS_INFO etc. But with this code in a node:

ROS_ERROR("Test error");
ROS_WARN("Test warn");
ROS_FATAL("Test fatal");

I find that my log file for the node only contains:

Test warn

The error/fatal messages are printed to the console, and can be found in the rosout.log. I miss them in the node log file and expected them there according to roscpp/Overview/Logging

Am I expecting something wrong?

Using ROS kinetic.

edit retag flag offensive close merge delete

Comments

I had a similar issue that was marked as a duplicate of this one today. Still looking for an answer. Thanks

CCGreg gravatar imageCCGreg ( 2018-06-11 07:18:34 -0600 )edit

Bump. Looking for an answer.

Naman gravatar imageNaman ( 2019-11-26 07:02:58 -0600 )edit