Page MenuHomePhabricator

Add x-request-id to httpd (apache) logs
Closed, ResolvedPublic

Description

Add X-request-id to the apache logs, so we can correlate what url caused a call to the api and so on.

Please note this will only be useful if we start generating a request id at the caching layer too

Details

Event Timeline

Change 570735 had a related patch set uploaded (by Dzahn; owner: Dzahn):
[operations/puppet@production] httpd: add x-request-id to apache httpd logs

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

Adding @Ottomata as a heads up that these log lines will have an additional element in them, in case that impacts analytics processing.

Thanks for heads up! We don't import apache logs, but I'm all for x-request-id everywhere! Related: {T235773}

Joe updated the task description. (Show Details)
jijiki triaged this task as Medium priority.Feb 10 2020, 10:24 AM
jijiki subscribed.

Change 570735 merged by Giuseppe Lavagetto:
[operations/puppet@production] httpd: log X-Request-Id header if any is incoming

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

Joe claimed this task.