# Logstash.log rotate

**URL:** <https://discuss.elastic.co/t/logstash-log-rotate/39606>\
**Category:** Logstash\
**Created:** [January 19, 2016, 11:27pm UTC](https://discuss.elastic.co/t/logstash-log-rotate/39606 "2016-01-19T23:27:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sripri](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sripri](https://discuss.elastic.co/u/sripri)\
**Post date:** [January 19, 2016, 11:27pm UTC](https://discuss.elastic.co/t/logstash-log-rotate/39606/1 "2016-01-19T23:27:33Z")

</div>

This is an oft repeated question with several answers. How to rotate logstash.log? I have not turned verbosity on. Yet the logs are massive. I have set the codec to dots and yet I see all of the logs in full json. Am I missing something. I have setup logrotate to rotate the logs but that seems to work only manually... tried restarting the cron. Any help/insight would be appreciated.

---

<div class="post-metadata">

**Author:** ![sripri](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sripri](https://discuss.elastic.co/u/sripri)\
**Post date:** [January 20, 2016, 12:38am UTC](https://discuss.elastic.co/t/logstash-log-rotate/39606/2 "2016-01-20T00:38:07Z")

</div>

I missed tacking --quiet to the command. It did the trick.

---

<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:** [July 6, 2017, 5:15am UTC](https://discuss.elastic.co/t/logstash-log-rotate/39606/3 "2017-07-06T05:15:08Z")

</div>


