Skip to content

[Bug] log4j.yaml DefaultRolloverStrategy doesn't work #20788

Description

@wedka

Search before asking

  • I searched in the issues and found nothing similar.

Version

Pulsar 2.10.2

Minimal reproduce step

In the log4j.yaml,the default configuration of DefaultRolloverStrategy is:
DefaultRolloverStrategy:
Delete:
basePath: ${sys:pulsar.log.dir}
maxDepth: 2
IfFileName:
glob: "*/${sys:pulsar.log.file}*log.gz"
IfLastModified:
age: 30d
However, after 30 days, the files are not deleted

What did you expect to see?

After 30 days, the files are deleted

What did you see instead?

After 30 days, the files are not deleted

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions