BryanDavis has uploaded a new change for review.

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

Change subject: logstash: Fix log level detection
......................................................................

logstash: Fix log level detection

Change-Id: I4e89fbcb52d556654eab8a0fb59849c1730bc23f
---
M wmf-config/logging.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/wmf-config/logging.php b/wmf-config/logging.php
index c42cad3..27e218f 100644
--- a/wmf-config/logging.php
+++ b/wmf-config/logging.php
@@ -167,7 +167,7 @@
                $opts['logstash'] &&
                $wmgLogstashServers
        ) {
-               $level = $opts['logstash']['level'];
+               $level = $opts['logstash'];
                $logstashHandler = "logstash-{$level}";
                if ( !isset( $wmgMonologConfig['handlers'][$logstashHandler] ) 
) {
                        // Register handler that will only pass events of the 
given

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e89fbcb52d556654eab8a0fb59849c1730bc23f
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to