jenkins-bot has submitted this change and it was merged.

Change subject: beta: Use password to connect to logstash redis server
......................................................................


beta: Use password to connect to logstash redis server

Introduce use of a $wmgLogstashPassword that will be set in
PrivateSettings.php to authenticate to the redis server.

Bug: T845

Change-Id: Iaab00470aebfec278dd474335eb9c03e242bebbd
---
M wmf-config/logging-labs.php
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  Manybubbles: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/wmf-config/logging-labs.php b/wmf-config/logging-labs.php
index f889211..183da62 100644
--- a/wmf-config/logging-labs.php
+++ b/wmf-config/logging-labs.php
@@ -373,7 +373,8 @@
                                        function() {
                                                $redis = new Redis();
                                                // 
deployment-logstash1.eqiad.wmflabs
-                                               $redis->connect( 
'10.68.16.134', 6379 );
+                                               $redis->connect( 
'10.68.16.134', 6379, .25 );
+                                               $resis->auth( 
$wmgLogstashPassword );
                                                return $redis;
                                        },
                                        'logstash'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaab00470aebfec278dd474335eb9c03e242bebbd
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to