Skip to content

Ability to configure how often logrotate run #4242

Open
@madmax

Description

@madmax

Is your feature request related to a problem? Please describe.

We want rotate logs every day but proxy-manager run logrotate once per 2 days.

Describe the solution you'd like
There should be optional ENV variable to set how often logrotate should be run.

Additional context
I think we should move hardcoded value from file and utilise env.

const intervalTimeout = 1000 * 60 * 60 * 24 * 2; // 2 days

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions