# Determine Queries

**URL:** <https://forum.inductiveautomation.com/t/determine-queries/10900>\
**Category:** General Discussion\
**Created:** [December 10, 2015, 7:49pm UTC](https://forum.inductiveautomation.com/t/determine-queries/10900 "2015-12-10T19:49:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [December 10, 2015, 7:49pm UTC](https://forum.inductiveautomation.com/t/determine-queries/10900/1 "2015-12-10T19:49:58Z")

</div>

I am looking for a way to track down exactly what queries. Is there a way to capture them into a log? Then I think from looking at them I would know what page(s) they could be on to see if I left polling mode on somewhere.

[attachment=0]Queries.png[/attachment]

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 10, 2015, 8:34pm UTC](https://forum.inductiveautomation.com/t/determine-queries/10900/2 "2015-12-10T20:34:44Z")

</div>

I usually just turn on query logging in PostgreSQL. 🙂

---

<div class="post-metadata">

**Author:** ![jim\_lapratt](https://avatars.discourse-cdn.com/v4/letter/j/cc9497/32.png) [@jim\_lapratt](https://forum.inductiveautomation.com/u/jim_lapratt)\
**Post date:** [December 11, 2015, 8:01pm UTC](https://forum.inductiveautomation.com/t/determine-queries/10900/3 "2015-12-11T20:01:30Z")

</div>

Phil,

No PostgreSQL here, have about everything else… LOL

Anyways with a little help we determined you need to go to :

System Console  
Levels

Look for “DatabaseConnectionManager.XXXXXX” where “XXXXX” is your connection and set the level to “ALL”
