Page MenuHomePhabricator

Create a log file for mw1017 events
Closed, ResolvedPublic

Description

We use mw1017 for live debugging but there is not much logging support for that. Like testwiki.log, there should be an mw1017.log file which includes all events which happened on mw1017. (Or maybe all events which happened on mw1017 when the X-Wikimedia-Debug header was set.)

Event Timeline

Tgr raised the priority of this task from to Needs Triage.
Tgr updated the task description. (Show Details)
Tgr added a project: MediaWiki-Debug-Logger.
Tgr subscribed.

This is "just" a matter of configuration. Under the current hosting setup I think it might mean replacing testwiki.log with mw1017.log since all testwiki requests (for now) are served by mw1017. I think we'd want to solve T117019: testwiki.log should include all channels at the same time to really make the log useful.

Change 269069 had a related patch set uploaded (by BryanDavis):
logging: Collect mw1017 logs for debugging

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

Change 269069 merged by jenkins-bot:
logging: Collect mw1017 logs for debugging

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

bd808 triaged this task as High priority.

Now logged to fluorine:/a/mw-log/mw1017.log. It does not go into logstash at this point (neither does testwiki.log nor test2wiki.log). We should evaluate log volume and usefulness to see if that would be desirable as a separate ticket.