Skip to content

Log Trim Feature #140

@kojiwell

Description

@kojiwell

To prevent the logs from growing too large, I want to have a trim feature. I'm not sure what the best approach would be yet, but if it were done manually, I imagine running a command like:

trops logtrim

When executed, for example, logs older than two months could be split and renamed to something like $TROPS_DIR/log/trops.log-1.

By default, trops log would not read old log files, but with the -a option, it could read them as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions