# אנונימיזציה של משתמשים ו-staff\_action\_logs

**URL:** <https://meta.discourse.org/t/user-anonymization-and-staff-action-logs/199582>\
**Category:** Product Support\
**Created:** [7 באוגוסט,‏ 2021,‏ 12:54pm UTC](https://meta.discourse.org/t/user-anonymization-and-staff-action-logs/199582 "2021-08-07T12:54:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![blackbird](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@blackbird](https://meta.discourse.org/u/blackbird)\
**Post date:** [7 באוגוסט,‏ 2021,‏ 6:32pm UTC](https://meta.discourse.org/t/user-anonymization-and-staff-action-logs/199582/5 "2021-08-07T18:32:04Z")

</div>

Thanks Hooksmith, your solution works. However I can see no reason for not running from time to time:  
`
UserHistory.delete_all
`  
Maybe I will write a script to run it weekly.  
Take care

---

_[View the full topic](https://meta.discourse.org/t/user-anonymization-and-staff-action-logs/199582)._
