Skip to content

log rotation support #400

@gryphius

Description

@gryphius

When using file logging it would be nice to have support for logrotation, based on size or time. Currently we use logrotate for this - but it seems like cascaded requires a full restart after the logrotation to start writing the new file. Maybe there could be a command like cascade logs reopen or something like that to recreate the filehandles without a full daemon restart?

Or maybe cascade could do the rotation itself. It seems like the used trace module does support rolling logs.

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