# Log4j2 Rolling File Strategy Only Rolls Once

**URL:** <https://discuss.elastic.co/t/log4j2-rolling-file-strategy-only-rolls-once/345320>\
**Category:** Logstash\
**Created:** [October 18, 2023, 7:37pm UTC](https://discuss.elastic.co/t/log4j2-rolling-file-strategy-only-rolls-once/345320 "2023-10-18T19:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 18, 2023, 8:16pm UTC](https://discuss.elastic.co/t/log4j2-rolling-file-strategy-only-rolls-once/345320/2 "2023-10-18T20:16:05Z")

</div>

[This](https://discuss.elastic.co/t/rotate-and-remove-old-logstash-output-logs/256803) thread might (or might not be helpful). Read all the way to the end 🙂

---

_[View the full topic](https://discuss.elastic.co/t/log4j2-rolling-file-strategy-only-rolls-once/345320)._
