# Seeing the transaction group command that is being sent to SQL in the gateway logs

**URL:** <https://forum.inductiveautomation.com/t/seeing-the-transaction-group-command-that-is-being-sent-to-sql-in-the-gateway-logs/27234>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 7, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/seeing-the-transaction-group-command-that-is-being-sent-to-sql-in-the-gateway-logs/27234 "2019-08-07T15:07:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tyrel.parker](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tyrel.parker](https://forum.inductiveautomation.com/u/tyrel.parker)\
**Post date:** [August 7, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/seeing-the-transaction-group-command-that-is-being-sent-to-sql-in-the-gateway-logs/27234/1 "2019-08-07T15:07:15Z")

</div>

Does anyone know if there is a way to see the actual query that a transaction group submits? I keep randomly getting a unique key constraint error from a transaction group that is only triggering once per the change of a specific tag value that is part of the unique constraint and it should only be incremented from the PLC, so I don’t understand the logic of the situation. I was hoping that if I could get the queries posted to the logs then I could see the timeline of the actions from that specific transaction group and narrow down my error. Any help would be great.
