Solr
  1. Solr
  2. SOLR-8151

OverseerCollectionMessageHandler shouldn't be logging informative data as WARN

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3, 6.0
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None

      Description

      This ends up filling the logs with WARN messages whenever you do any collection administration.

        Activity

        Hide
        Alan Woodward added a comment -

        Patch is a trivial fix:

        Index: solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java
        ===================================================================
        --- solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java	(revision 1707771)
        +++ solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java	(working copy)
        @@ -206,7 +206,7 @@
           @Override
           @SuppressWarnings("unchecked")
           public SolrResponse processMessage(ZkNodeProps message, String operation) {
        -    log.warn("OverseerCollectionMessageHandler.processMessage : "+ operation + " , "+ message.toString());
        +    log.info("OverseerCollectionMessageHandler.processMessage : "+ operation + " , "+ message.toString());
         
             NamedList results = new NamedList();
             try {
        
        Show
        Alan Woodward added a comment - Patch is a trivial fix: Index: solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java =================================================================== --- solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java (revision 1707771) +++ solr/core/src/java/org/apache/solr/cloud/OverseerCollectionMessageHandler.java (working copy) @@ -206,7 +206,7 @@ @Override @SuppressWarnings( "unchecked" ) public SolrResponse processMessage(ZkNodeProps message, String operation) { - log.warn( "OverseerCollectionMessageHandler.processMessage : " + operation + " , " + message.toString()); + log.info( "OverseerCollectionMessageHandler.processMessage : " + operation + " , " + message.toString()); NamedList results = new NamedList(); try {
        Hide
        ASF subversion and git services added a comment -

        Commit 1708046 from Alan Woodward in branch 'dev/trunk'
        [ https://svn.apache.org/r1708046 ]

        SOLR-8151: Don't log OverseerCollectionMessageHandler info as WARN

        Show
        ASF subversion and git services added a comment - Commit 1708046 from Alan Woodward in branch 'dev/trunk' [ https://svn.apache.org/r1708046 ] SOLR-8151 : Don't log OverseerCollectionMessageHandler info as WARN
        Hide
        ASF subversion and git services added a comment -

        Commit 1708047 from Alan Woodward in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1708047 ]

        SOLR-8151: Don't log OverseerCollectionMessageHandler info as WARN

        Show
        ASF subversion and git services added a comment - Commit 1708047 from Alan Woodward in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1708047 ] SOLR-8151 : Don't log OverseerCollectionMessageHandler info as WARN

          People

          • Assignee:
            Alan Woodward
            Reporter:
            Alan Woodward
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development