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

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 image CCGreg  ( 2018-06-11 07:18:34 -0600 )edit

Bump. Looking for an answer.

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

1 Answer

Sort by ยป oldest newest most voted
0

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

berry0511 gravatar image
edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 890 times

Last updated: Apr 23 '20