exceptionfactory opened a new pull request, #6867:
URL: https://github.com/apache/nifi/pull/6867

   # Summary
   
   [NIFI-10580](https://issues.apache.org/jira/browse/NIFI-10580) Upgrades 
SLF4J from 1.7.36 to 2.0.6 and upgrades Logback from 1.2.11 to 1.3.5.
   
   SLF4J 2.0 does not introduce any breaking API changes to standard 
interfaces, but changes the initialization process, which requires a minimum 
Logback version of 1.3.0. Logback 1.4.0 requires Java 11, so Logback 1.3.5 is 
the current compatible version.
   
   Spring Boot 2.7 provides a logging system implementation based on Logback 
1.2, but the initialization process is not compatible with Logback 1.3. NiFi 
Registry does not depend on the Spring Boot logging initialization, so 
disabling the initialization using a System property resolves startup issues.
   
   ZooKeeper has a dependency on Logback, which creates issues when running 
some tests, but excluding Logback resolves those issues.
   
   The ZooKeeperMigratorTest.groovy creates a test ZooKeeper server using an 
Apache Curator class that relies on Logback 1.2. This test is written in Groovy 
and uses Spock, so this pull request removes the test class.
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [X] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-00000`
   - [X] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-00000`
   
   ### Pull Request Formatting
   
   - [X] Pull Request based on current revision of the `main` branch
   - [X] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [X] Build completed using `mvn clean install -P contrib-check`
     - [X] JDK 8
     - [ ] JDK 11
     - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to