Skip to content

Always same filename of active logfile in DatetimeRotatingFilelogger, until rotated out #52

Open
@fredrikekre

Description

@fredrikekre

Currently the timestamp is added to the active logger and not just when changing log files. logrotate only appends the timestamp when rotating the file such that the active file is always the same. This behavior is sometimes useful and I think it would be good to support that there too. It is very easy to implement, but I am just not sure what the API should be. Perhaps just a filename and a prefix as two arguments?

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