# Enable Debug Logging on MetaDataCreateIndexService

**URL:** <https://discuss.elastic.co/t/enable-debug-logging-on-metadatacreateindexservice/105390>\
**Category:** Elasticsearch\
**Created:** [October 26, 2017, 9:43am UTC](https://discuss.elastic.co/t/enable-debug-logging-on-metadatacreateindexservice/105390 "2017-10-26T09:43:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmukhtar](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jmukhtar](https://discuss.elastic.co/u/jmukhtar)\
**Post date:** [October 26, 2017, 9:43am UTC](https://discuss.elastic.co/t/enable-debug-logging-on-metadatacreateindexservice/105390/1 "2017-10-26T09:43:20Z")

</div>

Is there a way to enable debug logging on MetaDataCreateIndexService component?

I have set the template to not to use replica shards, but when the index is created it's created with a replica shard and it takes down cluster health to yellow. below is the line of log that i can see in the logs at the momen.

[2017-10-26T06:01:31,182][INFO][o.e.c.m.MetaDataCreateIndexService] [xxxxxxx-node1] [xxxxxx-2017.10.26] creating index, cause [auto(bulk api)], templates [], shards [5]/[1], mappings []

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 27, 2017, 3:18pm UTC](https://discuss.elastic.co/t/enable-debug-logging-on-metadatacreateindexservice/105390/2 "2017-10-27T15:18:49Z")

</div>

You can change log level using the [cluster update settings API](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/misc-cluster.html#cluster-logger)

hope this helps!

--Alex

---

<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:** [November 24, 2017, 3:19pm UTC](https://discuss.elastic.co/t/enable-debug-logging-on-metadatacreateindexservice/105390/3 "2017-11-24T15:19:22Z")

</div>

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