# Logging Deadlocks

**URL:** https://forums.percona.com/t/logging-deadlocks/36760
**Category:** PMM 3.x
**Created:** [February 18, 2025, 3:27am UTC](https://forums.percona.com/t/logging-deadlocks/36760 "2025-02-18T03:27:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nunop](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@nunop](https://forums.percona.com/u/nunop)
#### Post date: [February 18, 2025, 3:27am UTC](https://forums.percona.com/t/logging-deadlocks/36760/1 "2025-02-18T03:27:40Z")

</div>

Hi!

Just wondering if PPM logs deadlocks in a similar manner to `pt-deadlock-logger` ?

I couldn’t find it anywhere. I do see the section called “InnoDB Locking” under “InnoDB Details”, but there doesn’t seem to be any section with deadlocks history, showing the actual queries and so.

My best choice would still be to run `pt-deadlock-logger` or enable `innodb_print_all_deadlocks`, is that correct?

Thank you very much!

---

<div class="post-metadata">

### Author: ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)
#### Post date: [February 18, 2025, 1:53pm UTC](https://forums.percona.com/t/logging-deadlocks/36760/2 "2025-02-18T13:53:35Z")

</div>

Hello @nunop,  
PMM does not monitor deadlocks. You can continue to use `pt-deadlock-logger` as before. You can also enable `innodb_print_all_deadlocks` and integrate Loki into PMM to scrape MySQL’s error log.
