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

Improve logging messages during startup to better identify core

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.3
    • 4.3.1, 4.4, 6.0
    • Schema and Analysis
    • None

    Description

      Some log messages could be more informative. For example:

      680 [coreLoadExecutor-3-thread-3] WARN org.apache.solr.schema.IndexSchema  – schema has no name!
      

      Would be very nice to know which core this is complaining about.
      Later, once the core is loaded, the core name shows up in the logs,
      but it would be nice to have it earlier without having to
      triangulating it through 'Loading core' messages.

      Attachments

        1. SOLR-4760.patch
          2 kB
          Shawn Heisey
        2. SOLR-4760.patch
          2 kB
          Shawn Heisey
        3. SOLR-4760-testfix.patch
          1.0 kB
          Erick Erickson

        Activity

          People

            elyograg Shawn Heisey
            arafalov Alexandre Rafalovitch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: