# Is there any option or way to turn off stdout related options?

**URL:** <https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring, docker\
**Created:** [December 10, 2020, 11:26am UTC](https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266 "2020-12-10T11:26:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shcho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shcho/32/80579_2.png) [@shcho](https://discuss.elastic.co/u/shcho)\
**Post date:** [December 10, 2020, 11:26am UTC](https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266/1 "2020-12-10T11:26:22Z")

</div>

When using the `logstash elasticsearch output` , it can be seen that `stdout` logging is displayed even without additional `stdout` setting.

Is there any option or way to turn off `stdout` related options?

---

<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:** [December 10, 2020, 4:34pm UTC](https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266/2 "2020-12-10T16:34:54Z")

</div>

Are you referring to the log4j2 output? If so, removing the console appender in log4j2.properties might help.

---

<div class="post-metadata">

**Author:** ![shcho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shcho/32/80579_2.png) [@shcho](https://discuss.elastic.co/u/shcho)\
**Post date:** [December 11, 2020, 3:12am UTC](https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266/3 "2020-12-11T03:12:45Z")

</div>

Thank you for answer.  
Apart from log4j2 properties setting, json logging seems to remain as it is.  
Probably like the logs left by logstash elasticsearch output.  
No log is left when using other outputs.

---

<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:** [January 8, 2021, 3:13am UTC](https://discuss.elastic.co/t/is-there-any-option-or-way-to-turn-off-stdout-related-options/258266/4 "2021-01-08T03:13:04Z")

</div>

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