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

Revision history [back]

click to hide/show revision 1
initial version

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 flines.

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.

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 flines.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.