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

Improve logging messages during startup to better identify core

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.3
    • Fix Version/s: 4.3.1, 4.4, 6.0
    • Component/s: Schema and Analysis
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: