Merge pull request #52782 from nextcloud/feat/log-client-side-req-id

pull/52801/head
Kate 8 months ago committed by GitHub
commit 0f03a892b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      lib/private/Log/LogDetails.php

@ -59,6 +59,10 @@ abstract class LogDetails {
'userAgent',
'version'
);
$clientReqId = $request->getHeader('X-Request-Id');
if ($clientReqId !== '') {
$entry['clientReqId'] = $clientReqId;
}
if (is_array($message)) {
// Exception messages are extracted and the exception is put into a separate field

Loading…
Cancel
Save