From 9f939405af5096f8f1048fabf2f29306a3a75001 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 29 May 2005 00:23:41 +0000 Subject: [PATCH] Include timestamp and database in rate limiter log (applying live patch) --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index b1cd8f12c0..7d637cbe4d 100644 --- a/includes/User.php +++ b/includes/User.php @@ -439,7 +439,7 @@ class User { if( $count > $max ) { wfDebug( "$fname: tripped! $key at $count $summary\n" ); if( $wgRateLimitLog ) { - @error_log( $this->getName() . ": tripped $key at $count $summary\n", 3, $wgRateLimitLog ); + @error_log( wfTimestamp( TS_MW ) . ' ' . $wgDBname . ': ' . $this->getName() . " tripped $key at $count $summary\n", 3, $wgRateLimitLog ); } $triggered = true; } else { -- 2.20.1