# Moderators reading messages in Staff Action Logs

**URL:** <https://meta.discourse.org/t/moderators-reading-messages-in-staff-action-logs/124061>\
**Category:** Feature\
**Created:** [7월 26, 2019, 2:53오후 UTC](https://meta.discourse.org/t/moderators-reading-messages-in-staff-action-logs/124061 "2019-07-26T14:53:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [9월 12, 2019, 3:04오후 UTC](https://meta.discourse.org/t/moderators-reading-messages-in-staff-action-logs/124061/4 "2019-09-12T15:04:02Z")

</div>

> [@zogstrip](#):
>
> I don’t think those edits should be logged.

This is done in [FIX: Do not log 'pull\_hotlinked\_images' edits in the staff action log · discourse/discourse@67a9894 · GitHub](https://github.com/discourse/discourse/commit/67a98946b8b19091533b86b5f7d6256da5ce06f6).

Note that moderators can still see logs for private messages that are edited by someone other than the author.

> [@zogstrip](#):
>
> and remove the existing ones

This is tricky to automate - we don’t have any way of knowing whether the existing logs are from “pull hotlinked images”, or have been edited as the system user via the API. @fefrei if you want to wipe the old logs for all system edits on your site, you could run something like this on the console:

```plaintext
UserHistory.where(action: UserHistory.actions[:post_edit], acting_user: Discourse.system_user).destroy_all

```

---

_[View the full topic](https://meta.discourse.org/t/moderators-reading-messages-in-staff-action-logs/124061)._
