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

View text files of ROS logs in color

asked 2019-07-17 16:46:14 -0500

jwin gravatar image

Sometimes we save our ROS logs as text files and view them later when we need them. However, it can be difficult to parse everything when it's not in color. Is there any built-in ROS solution for view ROS log text files in the normal stdout color?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-07-18 02:28:42 -0500

gvdhoorn gravatar image

updated 2019-07-18 02:29:15 -0500

Is there any built-in ROS solution for view ROS log text files in the normal stdout color?

No, there isn't afaik.

And I would argue that is also not needed or desirable: the log files are essentially just text files with ANSI escape codes embedded in the log lines. So any tool capable of parsing such codes should be able to read these log files, removing the need to create something ROS-specific.

I believe this was discussed before, in #q204631 for instance. That Q&A also contains some links to tools that can strip them out and also mentions less that should be able to show the contents including ANSI colours.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-07-17 16:46:14 -0500

Seen: 570 times

Last updated: Jul 18 '19