Admin log errors

AI-generated summary

In the Bug category, jomaxro reported strange anomalies in admin logs, including missing staff users, incorrect actions, and garbled text. Specific issues identified included: [en.admin.logs.staff_actions.actions.reviewed_post] appearing frequently, unattributed revoke badge actions, and the system user incorrectly logged for check email instead of delete post jomaxro. The reporter noted the issue might have stemmed from the update to Discourse 1.5.0.beta7 but could not provide screenshots due to privacy. However, in a follow-up post, jomaxro mentioned that the issue had not been seen in a long time and was likely resolved.

Summary:

While reviewing the admin logs this morning, I noticed some strange lines, that appear to be incorrect text, missing users, and even incorrect actions.

Steps to reproduce:

Unknown.

Expected Results:

All logs have a Staff User and Action listed, that match the action taken and are listed in plain English.

Actual Results:

Some lines have no staff user, some actions appear incorrect, and some are not proper text.

Here are some of the strange things:

  1. [en.admin.logs.staff_actions.actions.reviewed_post] is listed as an action for a large number of lines
  2. Someone (no Staff User listed) did a revoke badge action on a seemingly random assortment of users between 6 and 21 days ago. No context is listed and the Detail simply shows:
    New: 1
    Previous: 0
  3. The system Staff User is listed as taking the check email Action on what appears is supposed to be delete post based on the context listed (Post ID and the following raw text: raw: (post withdrawn by author, will be automatically deleted in 24 hours unless flagged))

Notes:

Have not reviewed logs in a while, possible this was affected by the updated from beta 6 to beta 7, but I am unsure.

Attachments:

For privacy reasons, will not post screenshots here. Discourse devs should have access to site and can see logs for themselves.

Versions and Mods:

Discourse 1.5.0.beta7 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

1 Like

Have not seen this in a long time. Likely resolved.

2 Likes