# Cannot confirm deprecation log on K8S deployment or docker

**URL:** <https://discuss.elastic.co/t/cannot-confirm-deprecation-log-on-k8s-deployment-or-docker/327356>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Tags:** docker\
**Created:** [March 9, 2023, 12:30pm UTC](https://discuss.elastic.co/t/cannot-confirm-deprecation-log-on-k8s-deployment-or-docker/327356 "2023-03-09T12:30:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shimpeko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shimpeko/32/118252_2.png) [@shimpeko](https://discuss.elastic.co/u/shimpeko)\
**Post date:** [March 9, 2023, 12:30pm UTC](https://discuss.elastic.co/t/cannot-confirm-deprecation-log-on-k8s-deployment-or-docker/327356/1 "2023-03-09T12:30:58Z")

</div>

Hello,

I'm operating Elasticsearch 7.17.9 on K8S using the ECK.

I'm trying to review the deprecation log which is documented here [Logging | Elasticsearch Guide [7.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/logging.html) as I'm planning to upgrade our Elasticsearch to version 8.

But for some reason, I cannot confirm any deprecation log message for our cluster even after calling a deprecated API like `GET /_xpack/license`.

I've also tested with the 7.17.9 docker image but the result is the same, no deprecation log in the STDOUT.

From my understanding, both K8S deployment (managed by ECK) and docker are configured to emit deprecation logs to STDOUT by default so I'm checking STDOUT outputs. But I've also checked the log directory, just in case, and found only the gc logs.

How can I enable (it is enabled by default if I'm correct) and confirm the deprecation log on K8S deployment (or docker)?

---

<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:** [April 6, 2023, 12:31pm UTC](https://discuss.elastic.co/t/cannot-confirm-deprecation-log-on-k8s-deployment-or-docker/327356/2 "2023-04-06T12:31:24Z")

</div>

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