Gergő Tisza has uploaded a new change for review.

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

Change subject: Fix logging config for authmanager metrics channel rename
......................................................................

Fix logging config for authmanager metrics channel rename

Change-Id: I4fe89ee6865cc181de58a6a1ca232d911c765015
---
M wmf-config/logging.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/01/293701/1

diff --git a/wmf-config/logging.php b/wmf-config/logging.php
index e9868d4..e0d4665 100644
--- a/wmf-config/logging.php
+++ b/wmf-config/logging.php
@@ -163,10 +163,16 @@
 ];
 
 if ( $wmgLogAuthmanagerMetrics ) {
+       // authmanager is the old name, but it has been repurposed
+       // to be a more generic log channel; authevents is the new name
        $wmgMonologConfig['loggers']['authmanager'] = [
                'handlers' => [ 'authmanager-statsd' ],
                'calls' => $wmgMonologLoggerCalls,
        ];
+       $wmgMonologConfig['loggers']['authevents'] = [
+               'handlers' => [ 'authmanager-statsd' ],
+               'calls' => $wmgMonologLoggerCalls,
+       ];
        $wmgMonologConfig['handlers']['authmanager-statsd'] = [
                // defined in WikimediaEvents
                'class' => 'AuthManagerStatsdHandler',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fe89ee6865cc181de58a6a1ca232d911c765015
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
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