Page MenuHomePhabricator

Improve Error logging from mobileapps
Open, Needs TriagePublic

Description

Error logging from mobileapps is terse and not useful

Throughout the incident in question, the service emitted log lines of 504: api_error with no additional context or information about which services or components were failing, traces about the error or other information that would be actionable. Additionally log messages from mobileapps are unformatted which hinders response and parsing (T397252).

Action item extracted from incident 2025-09-11 mwapi error rate/DB failure
Incident document: https://docs.google.com/document/d/1gKZR-5zWTl22EcNkab0suOuYkHufzGWsVW9pr9_ZvEo/edit?tab=t.0#heading=h.95p2g5d67t9q

Event Timeline

hnowlan added a project: Page Content Service.
hnowlan updated the task description. (Show Details)
hnowlan subscribed.

Change #1300185 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[mediawiki/services/mobileapps@master] util: add greater context to error logging

https://gerrit.wikimedia.org/r/1300185