From: Brion Vibber Date: Sun, 29 May 2005 00:23:41 +0000 (+0000) Subject: Include timestamp and database in rate limiter log (applying live patch) X-Git-Tag: 1.5.0alpha2~51 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=9f939405af5096f8f1048fabf2f29306a3a75001;p=lhc%2Fweb%2Fwiklou.git Include timestamp and database in rate limiter log (applying live patch) --- 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 {