yws-tracy opened a new issue, #19494: URL: https://github.com/apache/pulsar/issues/19494
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Version master branch: latest commit id: 5c8f92965637fbcd2b7e9e0e429884ce527e73ae OS: Ubuntu 22.04.1 ### Minimal reproduce step when we start broker by set -Dpulsar.log.appender=RollingFile, and intend to reserve log files 10 days by setting option IfLastModified: age: 10d, in log4j2.yaml, but pulsar logs does not be deleted, after 10 or more days, <img width="530" alt="image" src="https://user-images.githubusercontent.com/34879511/218301505-1aa22a4b-882d-4c92-acfe-5af64a930745.png"> ### What did you expect to see? log files should only be reserved within 10 days ### What did you see instead? log files does not be deleted according to log4j2.yaml configuration, log4j2.yaml config has problem that cause the delete strategy does not work ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
