For a high-traffic site, MediaWiki does not provide much help for finding the right records in the debug logs. It would be nice if there would be a request ID which would be recorded and the same in all log lines recorded during that request. That ID would then be included in the HTTP response, making the identification of the right log events trivial. (Ideally, the ID would even be passed along in sub-requests that the main process makes, such as jobs or internal and external API request; see discussion in T113817.)
Due to the obvious privacy concerns the recording/handling of such an ID this should be opt-in and only used for debugging, e.g. activated by the presence of the X-Wikimedia-Debug header.