Page MenuHomePhabricator

Include Varnish XID in Logstash
Open, Needs TriagePublic

Description

MediaWiki fatal errors result in a Varnish-generated error page which contains something like this:

If you report this error to the Wikimedia System Administrators, please include the details below.

Request from 80.98.115.32 via cp1053 cp1053, Varnish XID 831980440
Error: 503, Backend fetch failed at Sat, 16 Sep 2017 16:28:16 GMT

Unfortunately these details are mostly useless to developers as Logstash does not log the XID. AIUI Varnish adds it to the backend request as well so there is not technical reason it couldn't be done.

Event Timeline

Tgr created this task.Sep 16 2017, 9:49 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 16 2017, 9:49 PM

See also T117021: Request ID for debug log. Similar privacy concerns, maybe it should be limited to log lines with a severity of error or higher.