ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

missing ROS_ERR and ROS_FATAL from node log file

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

knxa gravatar image

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

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


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

CCGreg gravatar image CCGreg  ( 2018-06-11 07:18:34 -0500 )edit

Bump. Looking for an answer.

Naman gravatar image Naman  ( 2019-11-26 07:02:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-04-23 02:28:33 -0500

berry0511 gravatar image
edit flag offensive delete link more

Question Tools



Asked: 2017-09-26 08:57:40 -0500

Seen: 834 times

Last updated: Apr 23 '20