ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 3,686 times

Last updated: Apr 27 '17