# Disable specific deprecation warnings

**URL:** <https://discuss.elastic.co/t/disable-specific-deprecation-warnings/292678>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [December 22, 2021, 12:17pm UTC](https://discuss.elastic.co/t/disable-specific-deprecation-warnings/292678 "2021-12-22T12:17:02Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![joschi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joschi/32/44946_2.png) [@joschi](https://discuss.elastic.co/u/joschi)\
**Post date:** [December 23, 2021, 7:21am UTC](https://discuss.elastic.co/t/disable-specific-deprecation-warnings/292678/3 "2021-12-23T07:21:20Z")

</div>

Thanks for your reply, @ritchierich. We're not using Kibana or any other component of the Elastic Stack.

The warning message is logged by the [Java High Level REST client](https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high.html) because the Elasticsearch node sends it in its response (`Warning` HTTP response header) and I want to know how to disable the generation of this warning on the Elasticsearch node. 😉

I'd also be fine with disabling the log message for this particular deprecation warning in the client, but I didn't find any configuration settings to do so.

---

_[View the full topic](https://discuss.elastic.co/t/disable-specific-deprecation-warnings/292678)._
