# How to put logstash in debug logging mode?

**URL:** <https://discuss.elastic.co/t/how-to-put-logstash-in-debug-logging-mode/108303>\
**Category:** Logstash\
**Created:** [November 20, 2017, 12:54am UTC](https://discuss.elastic.co/t/how-to-put-logstash-in-debug-logging-mode/108303 "2017-11-20T00:54:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Ramierez](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Jose\_Ramierez](https://discuss.elastic.co/u/Jose_Ramierez)\
**Post date:** [November 20, 2017, 12:54am UTC](https://discuss.elastic.co/t/how-to-put-logstash-in-debug-logging-mode/108303/1 "2017-11-20T00:54:46Z")

</div>

We are chasing a problem where logstash stops listening, and starts logging this over and over:

```
 [2017-11-17T13:57:44,949][ERROR][logstash.outputs.elasticsearch] 
Encountered a retryable error. Will Retry with exponential backoff 
{:code=>400, :url=>"http://<IP of ES endpoint>:9200/_bulk"}

```

How do we get more debug/detail out of logstash to chase this?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 20, 2017, 1:15am UTC](https://discuss.elastic.co/t/how-to-put-logstash-in-debug-logging-mode/108303/2 "2017-11-20T01:15:01Z")

</div>

You should check the Elasticsearch logs.

Also [https://www.elastic.co/guide/en/logstash/6.0/running-logstash-command-line.html#command-line-flags](https://www.elastic.co/guide/en/logstash/6.0/running-logstash-command-line.html#command-line-flags) will be of some use 🙂

---

<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 18, 2017, 1:15am UTC](https://discuss.elastic.co/t/how-to-put-logstash-in-debug-logging-mode/108303/3 "2017-12-18T01:15:13Z")

</div>

Closed on December 18, 2017, 1:15am UTC

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