Robotics StackExchange | Archived questions

Not seeing stderr logging in log file

Hi,

If I use ROSINFO() 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 ROSERROR() I see the output on the console but it does not end up in the log file. Using rqtloggerlevel, 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!

Asked by CCGreg on 2017-10-03 11:58:10 UTC

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

Asked by CCGreg on 2018-02-15 13:49:36 UTC

duplicate

Asked by knxa on 2018-06-11 02:52:47 UTC

Bumping it up.

Asked by Naman on 2019-11-26 08:43:09 UTC

I had the same problem

Asked by jdclzl on 2020-07-21 07:39:40 UTC

Answers