# Deprecation Log =\> Show Query

**URL:** <https://discuss.elastic.co/t/deprecation-log-show-query/188601>\
**Category:** Elasticsearch\
**Created:** [July 3, 2019, 3:57am UTC](https://discuss.elastic.co/t/deprecation-log-show-query/188601 "2019-07-03T03:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bastimm](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@bastimm](https://discuss.elastic.co/u/bastimm)\
**Post date:** [July 3, 2019, 3:57am UTC](https://discuss.elastic.co/t/deprecation-log-show-query/188601/1 "2019-07-03T03:57:53Z")

</div>

Hello,  
just updated my old ES Server from 5.6 to 6.8 and i want to go to 7.2. But I have some deprecated queries.  
"Found extra tokens after the \_search request body, an error will be thrown in the next major version"  
Is it possible to extend the deprecation-logging to log the whole query which is affected? So i can easer find the problem which causes this problem?  
Thanks in advance

---

<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:** [July 31, 2019, 3:58am UTC](https://discuss.elastic.co/t/deprecation-log-show-query/188601/2 "2019-07-31T03:58:09Z")

</div>

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