From b2d35e9cb1b4a84fefb4d9593ee1a7f531fe9db3 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Wed, 6 May 2020 09:15:06 +0100 Subject: [PATCH] SEARCH-2223 Update debug log message to avoid repeating huge JSON blob. --- .../main/java/org/alfresco/solr/SolrInformationServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java index 0aa3cab25..88df960c8 100644 --- a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java +++ b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java @@ -3888,8 +3888,8 @@ public class SolrInformationServer implements InformationServer } catch (JSONException exception) { - // Nothing to be done here: the exception has been already logged in repositoryClient - LOGGER.debug("JSON exception raised while getting node metadata from repository.", exception); + // The exception has been already logged in repositoryClient and could be huge. Simply log a reference to it here. + LOGGER.debug("JSON exception swallowed by SolrInformationServer."); } catch (Exception exception) {