Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15936

Reduce unnecessary startup logging, such as SSL warnings when SSL not in use

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None

    Description

      Jetty is logging these lines on every startup (SSL not enabled):

      2022-01-19 11:43:18.053 WARN  (main) [] o.e.j.u.s.S.config Trusting all certificates configured for Client@62dbe64e[provider=null,keyStore=null,trustStore=null]
      2022-01-19 11:43:18.053 WARN  (main) [] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@62dbe64e[provider=null,keyStore=null,trustStore=null]
      2022-01-19 11:43:18.194 WARN  (main) [] o.e.j.u.s.S.config Trusting all certificates configured for Client@12fe1f28[provider=null,keyStore=null,trustStore=null]
      2022-01-19 11:43:18.194 WARN  (main) [] o.e.j.u.s.S.config No Client EndPointIdentificationAlgorithm configured for Client@12fe1f28[provider=null,keyStore=null,trustStore=null]
      2 

      Why is this class is even triggered in a non-ssl config? Or do we have some mis-configuration of Solr's default truststore or something that we should act on?

      Once this is fixed, PR https://github.com/apache/solr/pull/543 can be addressed, which moves LogWatcher earlier in the solr startup process to get as much logs as possible in the UI.

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              janhoy Jan Høydahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m