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

Completely disable logging outputs on screen

asked 2017-04-27 11:12:12 -0500

inspire gravatar image

updated 2017-04-27 13:04:18 -0500

Hi, I want to disable the ROS logging in the console completely, but still have the logging to the /rosout topic. I tried these two options:

  1. Set output="log" in the launch file. This disables the output of Debug, Info and Warning messages but still, Error and Fatal messages are shown in the console.
  2. Set the logger level to Fatal but this completely disables the /rosout topic, too.

Are there any other possibilities I could try out?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-04-27 14:04:49 -0500

Wolf gravatar image

Not a ROS specific solution but you could Pipe the Output to /dev/null, e.g.

rosrun your_package your_node > /dev/null
edit flag offensive delete link more

Comments

Ah yeah, that's indeed a solution. But I have another logging framework running that should still be able to log everything to the console. Sorry, I missed this point.

inspire gravatar image inspire  ( 2017-04-27 15:08:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-04-27 11:12:12 -0500

Seen: 4,241 times

Last updated: Apr 27 '17