Ask Your Question
1

Where is the log file in ROS 2.0

asked 2018-02-28 05:50:04 -0600

Dragon gravatar image

I install ROS 2.0 in my computer, and run the demo programs. But I can not find the log file. Where is the log file in ROS 2.0?

I know the default position in ROS 1.0 is ~/.ros.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-28 12:21:08 -0600

Dirk Thomas gravatar image

The logging subsystem in ROS 2 does not createa a logfile at the moment.

edit flag offensive delete link more

Comments

Thanks for your answer. Now if I want to log into a file, how should I do? I can not find any introduction for this.

Dragon gravatar imageDragon ( 2018-02-28 18:37:39 -0600 )edit

For now (until that feature is being implemented) you can use "standard" features available on your system. E.g. pipe the output into a file.

Dirk Thomas gravatar imageDirk Thomas ( 2018-03-02 10:48:10 -0600 )edit

en. en. I find the function through source code. Now, it can't log in the file through the ros2.

Dragon gravatar imageDragon ( 2018-03-08 19:50:07 -0600 )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

2 followers

Stats

Asked: 2018-02-28 05:50:04 -0600

Seen: 52 times

Last updated: Feb 28 '18