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

Utility to log deprecation warnings

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.7
    • logging
    • None

    Description

      Added org.apache.solr.logging.DeprecationLog. Up to the user to configure logging to go to a separate file if they wish.
      Old description:


      As discussed in solr-user list:

      When instructing people in what to do before upgrading to a new version, we often tell them to check for deprecation log messages and fix those before upgrading. Normally you'll see the most important logs as WARN level in the Admin UI log tab just after startup and first use. But I'm wondering if it also makes sense to introduce a separate DeprecationLogger.log(foo) that is configured in log4j2.xml to log to a separate logs/deprecation.log to make it easier to check this from the command line. If the file is non-empty you have work to do

      Attachments

        Issue Links

          Activity

            People

              dsmiley David Smiley
              janhoy Jan Høydahl
              Votes:
              1 Vote for this issue
              Watchers:
              7 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 - 0.5h
                  0.5h