Merge "Fix auth event log channel name"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 10 Jun 2016 01:23:35 +0000 (01:23 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 10 Jun 2016 01:23:35 +0000 (01:23 +0000)
includes/specials/SpecialCreateAccount.php
includes/specials/SpecialUserLogin.php

index b046bf9..9f3e5f0 100644 (file)
@@ -160,7 +160,7 @@ class SpecialCreateAccount extends LoginSignupSpecialPage {
        }
 
        protected function logAuthResult( $success, $status = null ) {
-               LoggerFactory::getInstance( 'authmanager-stats' )->info( 'Account creation attempt', [
+               LoggerFactory::getInstance( 'authevents' )->info( 'Account creation attempt', [
                        'event' => 'accountcreation',
                        'successful' => $success,
                        'status' => $status,
index 28c68aa..493ae2a 100644 (file)
@@ -154,7 +154,7 @@ class SpecialUserLogin extends LoginSignupSpecialPage {
        }
 
        protected function logAuthResult( $success, $status = null ) {
-               LoggerFactory::getInstance( 'authmanager-stats' )->info( 'Login attempt', [
+               LoggerFactory::getInstance( 'authevents' )->info( 'Login attempt', [
                        'event' => 'login',
                        'successful' => $success,
                        'status' => $status,