From: Gergő Tisza Date: Fri, 10 Jun 2016 10:29:35 +0000 (+0000) Subject: Rename log authevents channel back to authmanager X-Git-Tag: 1.31.0-rc.0~6650 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=f938940bb279d36f4055424db19040fc3c13bb23;p=lhc%2Fweb%2Fwiklou.git 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 --- 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,