ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Where is the log file in ROS 2.0

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

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 -0500

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 image Dragon  ( 2018-02-28 18:37:39 -0500 )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 image Dirk Thomas  ( 2018-03-02 10:48:10 -0500 )edit

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

Dragon gravatar image Dragon  ( 2018-03-08 19:50:07 -0500 )edit

Question Tools

2 followers

Stats

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

Seen: 253 times

Last updated: Feb 28 '18