# 更新导致的日志设置更改

**URL:** https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705
**Category:** Feature
**Tags:** staff-action-log
**Created:** [2025年九月23日 14:59 UTC](https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705 "2025-09-23T14:59:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年九月23日 14:59 UTC](https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705/1 "2025-09-23T14:59:50Z")

</div>

我知道 staff action logs 中有系统更改的站点设置。例如，在七月底，系统在我的论坛上启用了 `rich editor`，在四月份，`allowed iframes` 被更改了。

但当我试图找出 Discobot 的欢迎消息为什么不再工作时，却非常困难。我在 staff action logs 中查找了设置的更改，但没有任何更改。这就是为什么我假设问题与站点设置无关。如果那些没有改变并且以前奏效过，它就不可能是原因。

几天后，我发现 Discourse 更新更改了站点设置 `Disable Discourse Narrative Bot welcome post`\[1\]。

staff action logs 中的一个条目本可以帮助我找到它。在这些情况下是否可以添加一个条目？

当 `allowed iframes` 被更改时，添加了这样的条目：

> <https://github.com/discourse/discourse/blob/3762ed22db3948d95e4f960c08fe6bdf0fd9d4b3/db/migrate/20250415224422_update_allowed_iframes_codepen_stricter_default.rb#L24>

是否可以对所有站点设置迁移都这样做？也许也可以在上下文字段中添加“在 Discourse 更新期间更改”？

* * *

1. 

> <https://github.com/discourse/discourse/pull/34373>
>
> We want to temporarily disable user tips and the Discobot welcome PM
> on all sit…es by default until we have time to improve their functionality, because
> right now they create a lot of noise for new members and admins without
> providing obvious benefits.
> 
> Existing sites which have customized any of these localization strings will have
> \`disable\_discourse\_narrative\_bot\_welcome\_post\` kept as \`false\`:
> 
> \* system\_messages.welcome\_user.subject\_template OR
> \* system\_messages.welcome\_user.text\_body\_template OR
> \* discourse\_narrative\_bot.new\_user\_narrative.hello.message
> 
> Followup revert 70859e277fbe72a4d3a4e1d3f39a2dccd5b79218.

---

<div class="post-metadata">

### Author: ![gassim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gassim/32/220910_2.png) [@gassim](https://meta.discourse.org/u/gassim)
#### Post date: [2025年十月22日 13:13 UTC](https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705/2 "2025-10-22T13:13:17Z")

</div>

您好！

是的，我同意您的看法，这将非常有帮助。我们花了相当多的时间重写和格式化“欢迎消息”，甚至根据查看/回复的数量来确定一些月度指标。

我发现那篇叙事性的欢迎帖子一直“没有”查看/回复，所以在调查时，我们发现它被系统禁用了，这一点我们非常想知道。

我希望这个功能请求能够让管理员知道这些更改，就像我们在仪表板上了解新功能更新一样！

谢谢！

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十月22日 13:50 UTC](https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705/4 "2025-10-22T13:50:23Z")

</div>

> [@gassim](#):
>
> 我希望这个功能请求能让管理员在仪表板上了解这些更改，我们也可以在那里了解新功能更新！

我设置了一个自动化，当系统在 staff action logs 中添加站点设置更改时，它会发送一个私人消息：[Notify admin when site settings are updated by system - #11 by Moin](https://meta.discourse.org/t/notify-admin-when-site-settings-are-updated-by-system/208961/11)

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [2026年四月2日 23:18 UTC](https://meta.discourse.org/t/log-setting-changes-that-happen-because-of-an-update-in-staff-action-logs/383705/5 "2026-04-02T23:18:31Z")

</div>

我刚才来这儿，是因为我注意到 Discobot 被“阉割”了，而我之前竟然一直没发现。我认为，当某个设置被更改时（尤其是像 Discobot 这样重要的设置），如果能与站点管理员进行更多沟通就好了。当然，为每一个微小的设置变更都单独通知确实不太现实，但或许可以提供一个每周可选的摘要，或者至少在这个网站上发布一些相关信息，这将会大有帮助。
