You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2019/05/16 16:48:37 UTC

[lucene-solr] 04/08: SOLR-13398: Move log "Processing SSL Credential Provider chain" from INFO to DEBUG to prevent leaking into bin/solr printout

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch branch_7_7
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit af48f0437f50c5145fb1e55a38bb7e25e0b1f87e
Author: Jan Høydahl <ja...@apache.org>
AuthorDate: Fri Apr 12 11:54:40 2019 +0200

    SOLR-13398: Move log "Processing SSL Credential Provider chain" from INFO to DEBUG to prevent leaking into bin/solr printout
    
    (cherry picked from commit 03f5a5e7a1d75d6502087dbcc1ca86450875a233)
---
 solr/CHANGES.txt                                                        | 2 ++
 .../apache/solr/util/configuration/SSLCredentialProviderFactory.java    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 99660e9..f80e9bb 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -94,6 +94,8 @@ Bug fixes
 
 * SOLR-13252: Fix an NPE when setting a "policy" property for an existing collection (ab)
 
+* SOLR-13398: Move log line "Processing SSL Credential Provider chain..." from INFO to DEBUG (janhoy)
+
 ==================  7.7.1 ==================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/core/src/java/org/apache/solr/util/configuration/SSLCredentialProviderFactory.java b/solr/core/src/java/org/apache/solr/util/configuration/SSLCredentialProviderFactory.java
index 1fcfd96..b5ea036 100644
--- a/solr/core/src/java/org/apache/solr/util/configuration/SSLCredentialProviderFactory.java
+++ b/solr/core/src/java/org/apache/solr/util/configuration/SSLCredentialProviderFactory.java
@@ -56,7 +56,7 @@ public class SSLCredentialProviderFactory {
 
   public List<SSLCredentialProvider> getProviders() {
     ArrayList<SSLCredentialProvider> providers = new ArrayList<>();
-    log.info(String.format(Locale.ROOT, "Processing SSL Credential Provider chain: %s", providerChain));
+    log.debug(String.format(Locale.ROOT, "Processing SSL Credential Provider chain: %s", providerChain));
     String classPrefix = "class://";
     for (String provider : providerChain.split(";")) {
       if (defaultProviders.containsKey(provider)) {