# Understanding log settings

**URL:** <https://discuss.elastic.co/t/understanding-log-settings/210599>\
**Category:** Elasticsearch\
**Created:** [December 4, 2019, 10:17pm UTC](https://discuss.elastic.co/t/understanding-log-settings/210599 "2019-12-04T22:17:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![estevez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/estevez/32/47746_2.png) [@estevez](https://discuss.elastic.co/u/estevez)\
**Post date:** [December 4, 2019, 10:17pm UTC](https://discuss.elastic.co/t/understanding-log-settings/210599/1 "2019-12-04T22:17:32Z")

</div>

Hi I have some confusion on the log settings. Specifically what this setting is doing and how it is related with the rest of the log settings:

> index.search.slowlog.level: info

If I'm understanding the rest right, these would output the warn/info/debug/trace log if the queries surpass the specified thresholds.

```
index.search.slowlog.threshold.query.warn: 10s
index.search.slowlog.threshold.query.info: 5s
index.search.slowlog.threshold.query.debug: 2s
index.search.slowlog.threshold.query.trace: 500ms

```

But then how does the `index.search.slowlog.level:` affect the rest of the settings?

---

<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 1, 2020, 10:17pm UTC](https://discuss.elastic.co/t/understanding-log-settings/210599/2 "2020-01-01T22:17:53Z")

</div>

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