jenkins-bot has submitted this change and it was merged. Change subject: Improved rate limit log to mention IP ......................................................................
Improved rate limit log to mention IP * This could be useful for logged in users and subnet limits Change-Id: I4ddfb08c4730ec5cc3aec82f20792bbc09a49338 --- M includes/User.php 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: Chad: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/User.php b/includes/User.php index f5768af..a1a4b24 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1698,7 +1698,8 @@ // Already pinged? if ( $count ) { if ( $count >= $max ) { - wfDebugLog( 'ratelimit', $this->getName() . " tripped! $key at $count $summary" ); + wfDebugLog( 'ratelimit', "User '{$this->getName()}' " . + "(IP {$this->getRequest()->getIP()}) tripped $key at $count $summary" ); $triggered = true; } else { wfDebug( __METHOD__ . ": ok. $key at $count $summary\n" ); -- To view, visit https://gerrit.wikimedia.org/r/131770 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4ddfb08c4730ec5cc3aec82f20792bbc09a49338 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: Chad <ch...@wikimedia.org> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits