@ -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