From 806fbaaed56718e6067323426529ad333e3d3c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Tue, 17 Sep 2024 20:26:03 +0200 Subject: http: Remove timestamp from 'http' channel logs The timestamp is redundant with the timestamp that should be injected by the log formatter, and it makes it more difficult to find identical log messages. Change-Id: Ifa0529a5f8233be5adc16fa7632542f39916fda9 --- includes/http/GuzzleHttpRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/http') diff --git a/includes/http/GuzzleHttpRequest.php b/includes/http/GuzzleHttpRequest.php index 272a3e2ce41a..3a8e293f76f0 100644 --- a/includes/http/GuzzleHttpRequest.php +++ b/includes/http/GuzzleHttpRequest.php @@ -189,7 +189,7 @@ class GuzzleHttpRequest extends MWHttpRequest { // TODO {error} will be 'NULL' on success which is unfortunate, but // doesn't seem fixable without a custom formatter. Same for using // PSR-3 variable replacement instead of raw strings. - '[{ts}] {method} {uri} HTTP/{version} - {code} {error}' + '{method} {uri} HTTP/{version} - {code} {error}' ) ), 'logger' ); } -- cgit v1.2.3