[ 
https://issues.apache.org/jira/browse/NIFI-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-15206:
------------------------------------
    Description: 
{code:java}
2025-11-11T19:00:17.0024550Z [WARNING] 
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/py4j/logback/LevelChangeListener.java:[39,17]
 [deprecation] ALL in Level has been deprecated {code}
Per the 
[javadocs|https://javadoc.io/doc/ch.qos.logback/logback-classic/1.5.20/ch.qos.logback.classic/ch/qos/logback/classic/Level.html]
 the ALL in the Level class has been deprecated. The reason given there is
{quote}The {{ALL}} is used to turn on all logging. The {{ALL}} level is 
vestigial from log4j 1.x.

In logback, where the Level class is final, logging can be turned on for all 
levels by setting a logger's level to {{{}TRACE{}}}.
Thus, the {{ALL}} level is marked as deprecated.
{quote}
The goal of the ticket is to remove the use of ALL from the code base and have 
TRACE used instead.

  was:
{code:java}
2025-11-11T19:00:17.0024550Z [WARNING] 
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/py4j/logback/LevelChangeListener.java:[39,17]
 [deprecation] ALL in Level has been deprecated {code}
Per the 
[javadocs|https://javadoc.io/doc/ch.qos.logback/logback-classic/1.5.20/ch.qos.logback.classic/ch/qos/logback/classic/Level.html]
 the ALL in the Level class has been deprecated. The reason given there is

{quote}

The {{ALL}} is used to turn on all logging. The {{ALL}} level is vestigial from 
log4j 1.x.

In logback, where the Level class is final, logging can be turned on for all 
levels by setting a logger's level to {{{}TRACE{}}}.
Thus, the {{ALL}} level is marked as deprecated.

{quote}

The goal of the ticket is to remove the use of ALL from the code base.


> Remove use of deprecated ch.qos.logback.classic.Level.ALL
> ---------------------------------------------------------
>
>                 Key: NIFI-15206
>                 URL: https://issues.apache.org/jira/browse/NIFI-15206
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> {code:java}
> 2025-11-11T19:00:17.0024550Z [WARNING] 
> /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-py4j-extension-bundle/nifi-py4j-bridge/src/main/java/org/apache/nifi/py4j/logback/LevelChangeListener.java:[39,17]
>  [deprecation] ALL in Level has been deprecated {code}
> Per the 
> [javadocs|https://javadoc.io/doc/ch.qos.logback/logback-classic/1.5.20/ch.qos.logback.classic/ch/qos/logback/classic/Level.html]
>  the ALL in the Level class has been deprecated. The reason given there is
> {quote}The {{ALL}} is used to turn on all logging. The {{ALL}} level is 
> vestigial from log4j 1.x.
> In logback, where the Level class is final, logging can be turned on for all 
> levels by setting a logger's level to {{{}TRACE{}}}.
> Thus, the {{ALL}} level is marked as deprecated.
> {quote}
> The goal of the ticket is to remove the use of ALL from the code base and 
> have TRACE used instead.



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

Reply via email to