# pt-kill with log dsn and print option

**URL:** <https://forums.percona.com/t/pt-kill-with-log-dsn-and-print-option/2814>\
**Category:** Percona Toolkit\
**Created:** [July 11, 2013, 6:11pm UTC](https://forums.percona.com/t/pt-kill-with-log-dsn-and-print-option/2814 "2013-07-11T18:11:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fritchie](https://avatars.discourse-cdn.com/v4/letter/f/3bc359/32.png) [@fritchie](https://forums.percona.com/u/fritchie)\
**Post date:** [July 11, 2013, 6:11pm UTC](https://forums.percona.com/t/pt-kill-with-log-dsn-and-print-option/2814/1 "2013-07-11T18:11:26Z")

</div>

Hi all,

When using pt-kill with the --log-dsn and --print option should the printed queries be sent to the DSN or are only queries that are actually killed sent to the dsn?

Thanks,  
Frank

---

<div class="post-metadata">

**Author:** ![dim0](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dim0/32/950_2.png) [@dim0](https://forums.percona.com/u/dim0)\
**Post date:** [August 14, 2013, 7:51am UTC](https://forums.percona.com/t/pt-kill-with-log-dsn-and-print-option/2814/2 "2013-08-14T07:51:21Z")

</div>

Hi Fritchie,

Only queries which are actually killed will be shown in the DSN --log-dsn database. For example:

| 155 | 2 | 2013-08-14 15:19:39 | | | 83 | | | Query | 0 | Creating sort index | select \* … from… ’ | NULL |

Kind regards,

Dimitri
