From f7f15f460c24db3023ef38d0a901fe13eefa1d3d Mon Sep 17 00:00:00 2001 From: dena Date: Mon, 15 Dec 2025 13:30:42 +0100 Subject: [PATCH] add request URI --- dist-persist/wbstack/src/Logging/CustomLogger.php | 2 ++ dist/wbstack/src/Logging/CustomLogger.php | 2 ++ 2 files changed, 4 insertions(+) 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,