Skip to content

How to change Log Rotate Appends number to daily files,  #384

Open
@surban13

Description

@surban13

So we have the setting at 20mb and keep for 14 days.

But each day has over 500 files for logs.

I am trying to bring them into Azure monitor, but the numbers on the end won't allow me too. How can I change where those numbers are put?

info-2023-12-11.log

Daily Rotate runs

info-2023-12-11.log becomes info-2023-12-11.log.gz

new daily file then is info-2023-12-11.log.1

Etc...

Need to move that 1 from the file name and put it elsewhere on there.

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