Ask Your Question

logging to file and screen

asked 2014-05-08 02:07:57 -0500

Dominik gravatar image

Is there a way to enable logging of a node to both file and screen? And why does setting output="screen" disable logging to file?

I would like to see log messages at runtime on the screen, but still be able to recheck log messages at a later stage without having to copy/paste my terminal screens to a file.

I suppose I could use rqt_console to see the log messages at runtime, but as I understand that would put more strain on my network and I already have timing issues as it is without overloading my network with debug messages.

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-05-08 08:05:54 -0500

ahendrix gravatar image

This sounds like a bug (or a feature) in how roslaunch is implementing output to screen. I would file it against the ros_comm issue tracker:

edit flag offensive delete link more


I'm not sure if we have to distinguish between roslaunch log and a node's log. Roslaunch seems to log always to a file, but only startup/shutdown messages. The node itself however doesn't log to a file when output="screen". But I will follow your advice and create an issue and see about the response

Dominik gravatar image Dominik  ( 2014-05-08 22:23:52 -0500 )edit is tracking this issue, it is still open in need of a PR.

lucasw gravatar image lucasw  ( 2018-07-24 12:21:23 -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



Asked: 2014-05-08 02:07:57 -0500

Seen: 1,869 times

Last updated: May 08 '14