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

How to disable the output of one node

asked 2020-10-16 10:09:49 -0500

Hey everybody,

I'm using the usb_cam-package and this is sending a lot of error/info massages I don't want to see. The massages are not produced with ROS_ERROR but come from some included package (probably std::cout). The video stream is working regardless the error and I don't have the time to resolve the issue. I tried "Setting Verbosity Levels" from but it didn't work.

My question therefor is if it is possible to "mute" this node so that the node-output is not flooding my console? I still want to see the output of the other nodes.

Thank you


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-16 10:57:56 -0500

Roberto Z. gravatar image

updated 2020-10-16 10:59:53 -0500

Have you tried including output="log" inside the corresponding <node> tag in your launch file?

For instance

  <node name="usb_cam" pkg="usb_cam" type="usb_cam_node" output="log"/>

From the documentation at

If 'screen', stdout/stderr from the node will be sent to the screen. If 'log', the stdout/stderr output will be sent to a log file in $ROS_HOME/log, and stderr will continue to be sent to screen. The default is 'log'.

edit flag offensive delete link more


Hey Roberto,

thank you. I've seen and tried that but I still get the error messages. How can I silent those too? "stderr will continue to be sent to screen"

RobertZickler gravatar image RobertZickler  ( 2020-11-02 04:28:08 -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: 2020-10-16 10:09:49 -0500

Seen: 1,346 times

Last updated: Oct 16 '20