[ 
https://issues.apache.org/jira/browse/NIFI-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17583677#comment-17583677
 ] 

ASF subversion and git services commented on NIFI-9374:
-------------------------------------------------------

Commit fa85a05a2ba9ed7c9c613f880efaf53ca720c2f8 in nifi's branch 
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=fa85a05a2b ]

NIFI-9374 Added Deprecation Logger

- Added nifi-deprecation-log module with interface and implementation using 
SLF4J
- Updated standard logback.xml with nifi-deprecation.log appender
- Updated NiFiLegacyCipherProvider with deprecation logging
- Set Size, Time Policy, and Total Size Limit for Deprecation Log

This closes #6300
Signed-off-by: Paul Grey <gr...@apache.org>


> Implement Standard Logging for Deprecated Features
> --------------------------------------------------
>
>                 Key: NIFI-9374
>                 URL: https://issues.apache.org/jira/browse/NIFI-9374
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Core Framework, Extensions
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to