# Prevent /var/log/messages

**URL:** <https://discuss.elastic.co/t/prevent-var-log-messages/109004>\
**Category:** Elasticsearch\
**Created:** [November 24, 2017, 9:55am UTC](https://discuss.elastic.co/t/prevent-var-log-messages/109004 "2017-11-24T09:55:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balaji\_V](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Balaji\_V](https://discuss.elastic.co/u/Balaji_V)\
**Post date:** [November 24, 2017, 9:55am UTC](https://discuss.elastic.co/t/prevent-var-log-messages/109004/1 "2017-11-24T09:55:39Z")

</div>

Hi All,

I am using Elasticsearch 5.6.0 docker image which was working fine for sometime and suddenly /var file system got filled up with elasticsearch log files in messages file.

I've already configured path.log /apps/elastic/esdata/logs in elasticsearch.yml file and I can see the logs are writing there as well.

I don't see any proper solutions in internet. Can anyone having a proper solutions for this.

My docker version is 12.x.

Thanks in advance.

Regards,  
Balaji

---

<div class="post-metadata">

**Author:** ![Balaji\_V](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@Balaji\_V](https://discuss.elastic.co/u/Balaji_V)\
**Post date:** [November 25, 2017, 8:43am UTC](https://discuss.elastic.co/t/prevent-var-log-messages/109004/2 "2017-11-25T08:43:54Z")

</div>

Hi All,

I found this and fixed. Need to set --log-driver none while starting elastic containers.

Regards,  
Balaji

---

<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:** [December 23, 2017, 8:44am UTC](https://discuss.elastic.co/t/prevent-var-log-messages/109004/3 "2017-12-23T08:44:14Z")

</div>

Closed on December 23, 2017, 8:44am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
