Rename log authevents channel back to authmanager
authorGergő Tisza <gtisza@wikimedia.org>
Fri, 10 Jun 2016 10:29:35 +0000 (10:29 +0000)
committerGergő Tisza <gtisza@wikimedia.org>
Fri, 10 Jun 2016 10:32:06 +0000 (10:32 +0000)
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
includes/specials/SpecialUserLogin.php

index 9f3e5f0..e47b255 100644 (file)
@@ -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,
index 493ae2a..c04b239 100644 (file)
@@ -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,