Not seeing stderr logging in log file

asked 2017-10-03 11:58:10 -0600

CCGreg gravatar image

Hi,

If I use ROS_INFO() for logging, the log data ends up in my node's log file (log file has the string "stdout" in it). It is not seen on the console. If I use ROS_ERROR() I see the output on the console but it does not end up in the log file. Using rqt_logger_level, I see that everything is set to INFO so only DEBUG should be left out of the log file, right? It seems like stderr output is not getting logged to a file. I am using Kinetic Kame.

I would like to see all logging end up in my node's log file.

Any help appreciated!

edit retag flag offensive close merge delete

Comments

Bump...still trying to figure out how to get ROS_ERROR to be logged to file instead of being routed to terminal output (would like to have it go to both places if possible). Thanks

CCGreg gravatar imageCCGreg ( 2018-02-15 12:49:36 -0600 )edit
knxa gravatar imageknxa ( 2018-06-11 02:52:47 -0600 )edit

Bumping it up.

Naman gravatar imageNaman ( 2019-11-26 07:43:09 -0600 )edit