diff --git a/dist-persist/wbstack/src/Logging/CustomLogger.php b/dist-persist/wbstack/src/Logging/CustomLogger.php index bd6170a92..60ed10d7c 100644 --- a/dist-persist/wbstack/src/Logging/CustomLogger.php +++ b/dist-persist/wbstack/src/Logging/CustomLogger.php @@ -67,6 +67,8 @@ private function doLog( $level, $message, $context ) { 'version' => MW_VERSION, ]; $payload[ 'context' ] = [ + 'request_uri' => $_SERVER['REQUEST_URI'] ?? '', + // set in /includes/Defines.php 'mediawiki' => MW_VERSION, diff --git a/dist/wbstack/src/Logging/CustomLogger.php b/dist/wbstack/src/Logging/CustomLogger.php index bd6170a92..60ed10d7c 100644 --- a/dist/wbstack/src/Logging/CustomLogger.php +++ b/dist/wbstack/src/Logging/CustomLogger.php @@ -67,6 +67,8 @@ private function doLog( $level, $message, $context ) { 'version' => MW_VERSION, ]; $payload[ 'context' ] = [ + 'request_uri' => $_SERVER['REQUEST_URI'] ?? '', + // set in /includes/Defines.php 'mediawiki' => MW_VERSION,