Ask Your Question
4

Best way to get the relevant log file from ~/.ros/log

asked 2014-03-02 16:39:50 -0500

130s gravatar image

updated 2016-10-24 08:59:02 -0500

ngrennan gravatar image

Log files in ~/.ros/log are quite useful especially when diagnosing someone's issue remotely. What's not so easy is to figure out which .log file or directory is the one that the user is dealing with since there can be quite a few number of files/directories.

An easy workaround is to ask the user to run the problematic run and make a tarball immediately out of the most recent file/directory, found at the top of the result of ls -l. This is not, however, something that the users always are happy to do.

Is there a ROS way to get it done nicely?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-03-02 19:41:11 -0500

ahendrix gravatar image

The roslaunch-logs command will show the current log directory that is in use.

It's documented in more detail on the wiki

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-03-02 16:39:50 -0500

Seen: 2,917 times

Last updated: Mar 02 '14