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

Date-based log rotation? #210

@DarrenCook

Description

@DarrenCook

I've been using datestamp in the log filename:
FILENAME = "%datetime{%Y%M%d}.log"

For long-running processes this means it is still writing to 20140915.log a few days later. What is the recommended way to deal with this?

I can trigger a timer to run at midnight, but then I'm not sure what command to run to tell it to start a new log file, with a new filename.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions