Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/293704

Change subject: Rename log authevents channel back to authmanager
......................................................................

Rename log authevents channel back to authmanager

Fixes authentication metrics. We want to go in the opposite
direction eventually, but having auth metrics broken on the day
after the AuthManager deployment to group2 is not fun, and this
is less risky as an emergency deploy than messing with log config.

Change-Id: I5e7a6bf1ce40aa132626207f6d7c45dd0c832c10
---
M includes/specials/SpecialCreateAccount.php
M includes/specials/SpecialUserLogin.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/04/293704/1

diff --git a/includes/specials/SpecialCreateAccount.php 
b/includes/specials/SpecialCreateAccount.php
index 9f3e5f0..e47b255 100644
--- a/includes/specials/SpecialCreateAccount.php
+++ b/includes/specials/SpecialCreateAccount.php
@@ -160,7 +160,7 @@
        }
 
        protected function logAuthResult( $success, $status = null ) {
-               LoggerFactory::getInstance( 'authevents' )->info( 'Account 
creation attempt', [
+               LoggerFactory::getInstance( 'authmanager' )->info( 'Account 
creation attempt', [
                        'event' => 'accountcreation',
                        'successful' => $success,
                        'status' => $status,
diff --git a/includes/specials/SpecialUserLogin.php 
b/includes/specials/SpecialUserLogin.php
index 493ae2a..c04b239 100644
--- a/includes/specials/SpecialUserLogin.php
+++ b/includes/specials/SpecialUserLogin.php
@@ -154,7 +154,7 @@
        }
 
        protected function logAuthResult( $success, $status = null ) {
-               LoggerFactory::getInstance( 'authevents' )->info( 'Login 
attempt', [
+               LoggerFactory::getInstance( 'authmanager' )->info( 'Login 
attempt', [
                        'event' => 'login',
                        'successful' => $success,
                        'status' => $status,

-- 
To view, visit https://gerrit.wikimedia.org/r/293704
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e7a6bf1ce40aa132626207f6d7c45dd0c832c10
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to