ros2 / ros2/launch

Logs are not saved in the same folder

Open
#551 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
155
Forks
182
Avg merge
2d 14h
Merged PRs (30d)
6

Description

  • Operating System:
    Ubuntu 20
  • Installation type:
    from source
Expected behavior

As ros1 all the logs should be saved as

logs/day-months-time_id/ [list of files]

Actual behavior

The logs are being saved in the logs folder but not in the same subfolder and only cpp nodes have the name of the file.

ros_log

Additional information

for the python logs we use the library logging and for cpp the RCLCPP_*_STREAM

Do you know how to solve this problem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by tracing how launch creates the logs directory and how Python logging and RCLCPP_*_STREAM output are handled; done means all node logs are saved in one timestamped subfolder with consistent file naming.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.