Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9374

Implement Standard Logging for Deprecated Features

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • Core Framework, Extensions
    • None

    Description

      Over the course of multiple releases and numerous capability improvements, various areas of the code have become deprecated. Deprecated classes, methods, and properties are required to maintain compatibility when upgrading between minor releases, but it can be difficult for both developers and users to track all uses of deprecated features.

      Following the pattern of other libraries and frameworks, the purpose of this issue is to implement standard logging for deprecated features. The default logging configuration should include a new log file dedicated to deprecated usage patterns. The implementation should wrap standard SLF4J logging and provide a common standard for logger names. This approach should make it easy to add deprecation log warnings throughout the application, and also make it easy for users to determine whether their configuration is using deprecated features.

      Having a dedicated log for deprecated features will provide a straightforward method of determining whether a given NiFi installation can be upgraded to future major releases.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 40m
                  1h 40m