From 6f9f6fe3cfd05402d9754297d750dd4bcb2b5bd0 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 5 Jan 2025 16:07:12 +0100 Subject: [PATCH] Log: add request method in logged message prefix --- src/Log.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Log.php b/src/Log.php index d1d1607..c796f63 100644 --- a/src/Log.php +++ b/src/Log.php @@ -197,6 +197,7 @@ class Log { else { $msg = array( date('Y/m/d H:i:s'), + $_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI'], self :: get_remote_addr(), );