# How to disable logrotate?

**URL:** <https://discuss.elastic.co/t/how-to-disable-logrotate/62714>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [October 11, 2016, 12:57pm UTC](https://discuss.elastic.co/t/how-to-disable-logrotate/62714 "2016-10-11T12:57:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![voelzmo](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@voelzmo](https://discuss.elastic.co/u/voelzmo)\
**Post date:** [October 11, 2016, 12:57pm UTC](https://discuss.elastic.co/t/how-to-disable-logrotate/62714/1 "2016-10-11T12:57:03Z")

</div>

Hi,

Following the documentation at [https://www.elastic.co/guide/en/beats/packetbeat/master/configuration-logging.html](https://www.elastic.co/guide/en/beats/packetbeat/master/configuration-logging.html) I was looking for a way to disable logrotate. Is that even possible at all? How well would packetbeat deal with an external logrotate mechanism?

My reason is: The logfiles within my distributed system sit by convention in a specific directory. There is already logrotate.d configured for that directory, I don't want another entity manage the logs specifically for packetbeat.

Thanks for your advice!  
Warm regards  
Marco

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [October 12, 2016, 11:57am UTC](https://discuss.elastic.co/t/how-to-disable-logrotate/62714/2 "2016-10-12T11:57:56Z")

</div>

Currently this is not possible. I agree that we should offer an option to disable this (or even make it optional). Could you open an enhancement request for this on Github? [https://github.com/elastic/beats](https://github.com/elastic/beats)

---

<div class="post-metadata">

**Author:** ![voelzmo](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@voelzmo](https://discuss.elastic.co/u/voelzmo)\
**Post date:** [October 12, 2016, 12:22pm UTC](https://discuss.elastic.co/t/how-to-disable-logrotate/62714/3 "2016-10-12T12:22:30Z")

</div>

sure, here you go: [https://github.com/elastic/beats/issues/2764](https://github.com/elastic/beats/issues/2764)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 1, 2016, 12:57pm UTC](https://discuss.elastic.co/t/how-to-disable-logrotate/62714/4 "2016-11-01T12:57:18Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
