# When does it log "check personal message"?

**URL:** https://meta.discourse.org/t/when-does-it-log-check-personal-message/162285
**Category:** Support
**Created:** [August 27, 2020, 7:27pm UTC](https://meta.discourse.org/t/when-does-it-log-check-personal-message/162285 "2020-08-27T19:27:34Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [August 28, 2020, 3:02am UTC](https://meta.discourse.org/t/when-does-it-log-check-personal-message/162285/5 "2020-08-28T03:02:15Z")

</div>

> [@longhairedboy](#):
>
> Is that why sometimes we occasionally see service accounts like ‘system’ in the log as having read a personal message? Possibly when they do cleanup of some kind?

That’s weird - I can confirm this happening on meta.

* * *

This is coming from **webhooks** that fire when the first post of a topic is destroyed. The log is created **before** the webhook existence check happens, so it occurs even if no webhooks receive the topic content.

cc @vinothkannans - this was [FIX: Generate webhook payloads before destroy events (#6325) · discourse/discourse@8430ea9 · GitHub](https://github.com/discourse/discourse/commit/8430ea927e), can you think of fixes for this? TopicView.new() is what’s creating the PM viewing action.

---

_[View the full topic](https://meta.discourse.org/t/when-does-it-log-check-personal-message/162285)._
