Skip to content

Not deleting zipped log files #380

Open
@Livia-Peng

Description

@Livia-Peng

We're using the Winston daily logger like so:

{
  handleExceptions: true,
  formatter: formatter,
  filename: "/logs/ezlink-%DATE%.log",
  datePattern: "YYYY-MM-DD.HH.mm",
  zippedArchive: true,
  maxSize: "20m",
  maxFiles: 5
}

However, it's not deleting old zipped log files.
I tested that not zipped files can be deleted.
image

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