Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

rosout log rotation is odd #854

@mgrrx

Description

@mgrrx

Normally you'd expect that the rosout log file is rotated as usual (https://en.wikipedia.org/wiki/Log_rotation) by increasing the number in the suffix for old log file such that it is always guaranteed that rosout.log.2 is older than rosout.log.1. The current implementation moves rosout.log to rosout.log.(current_back_index % 10) during "rotation", thus the ordering is not preserved as you would expect it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions