From f938940bb279d36f4055424db19040fc3c13bb23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Fri, 10 Jun 2016 10:29:35 +0000 Subject: [PATCH] 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 --- includes/specials/SpecialCreateAccount.php | 2 +- includes/specials/SpecialUserLogin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialCreateAccount.php b/includes/specials/SpecialCreateAccount.php index 9f3e5f0dfc..e47b255c8f 100644 --- a/includes/specials/SpecialCreateAccount.php +++ b/includes/specials/SpecialCreateAccount.php @@ -160,7 +160,7 @@ class SpecialCreateAccount extends LoginSignupSpecialPage { } 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 493ae2a893..c04b23985c 100644 --- a/includes/specials/SpecialUserLogin.php +++ b/includes/specials/SpecialUserLogin.php @@ -154,7 +154,7 @@ class SpecialUserLogin extends LoginSignupSpecialPage { } protected function logAuthResult( $success, $status = null ) { - LoggerFactory::getInstance( 'authevents' )->info( 'Login attempt', [ + LoggerFactory::getInstance( 'authmanager' )->info( 'Login attempt', [ 'event' => 'login', 'successful' => $success, 'status' => $status, -- 2.20.1