# Elasticsearch 2.4.0 stdout logging size restriction

**URL:** <https://discuss.elastic.co/t/elasticsearch-2-4-0-stdout-logging-size-restriction/194131>\
**Category:** Elasticsearch\
**Created:** [August 7, 2019, 3:30am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0-stdout-logging-size-restriction/194131 "2019-08-07T03:30:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhurajreddy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhurajreddy/32/18981_2.png) [@prabhurajreddy](https://discuss.elastic.co/u/prabhurajreddy)\
**Post date:** [August 7, 2019, 3:30am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0-stdout-logging-size-restriction/194131/1 "2019-08-07T03:30:16Z")

</div>

We have elasticsearch 2.4 installation, sometimes stdout logs go over 100GB size.  
Though I have configured the log4j settings to

file:  
type: rollingFile  
file: {path.logs}/{cluster.name}.log  
maxFileSize: 10MB  
maxBackupIndex: 10  
layout:  
type: pattern  
conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %.10000m%n"

Looks like this stdout and stderr logs are not controlled via Log4J.  
Is there any way to disable stdout or restrict the size?

---

<div class="post-metadata">

**Author:** ![pgomulka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pgomulka/32/45766_2.png) [@pgomulka](https://discuss.elastic.co/u/pgomulka)\
**Post date:** [August 9, 2019, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0-stdout-logging-size-restriction/194131/2 "2019-08-09T11:04:50Z")

</div>

hey  
what sort of messages you get on stdout?  
What plugins do you have installed?

---

<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:** [September 6, 2019, 11:04am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-0-stdout-logging-size-restriction/194131/3 "2019-09-06T11:04:51Z")

</div>

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