This is an automated email from the ASF dual-hosted git repository.
kevdoran pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 59fb260d7a0 NIFI-16410 Log single-match NAR dependency fallback at
INFO (#11743)
59fb260d7a0 is described below
commit 59fb260d7a03c4653f3f85280c84aab339123e91
Author: Kevin Doran <[email protected]>
AuthorDate: Wed Sep 30 15:56:52 2026 -0400
NIFI-16410 Log single-match NAR dependency fallback at INFO (#11743)
Keep dependency substitution visible without warning when the loader
selects the sole available candidate and continues. Apply the same level
to startup and additional NAR loading; leave failure diagnostics unchanged.
---
.../src/main/java/org/apache/nifi/nar/NarClassLoaders.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarClassLoaders.java
b/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarClassLoaders.java
index 8f27ac58da8..f1bc4a99899 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarClassLoaders.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-nar-utils/src/main/java/org/apache/nifi/nar/NarClassLoaders.java
@@ -257,7 +257,7 @@ public final class NarClassLoaders {
// if that bundle is loaded, use it
if
(narCoordinateClassLoaderLookup.containsKey(coordinate.getCoordinate())) {
- logger.warn("While loading '{}' unable
to locate exact NAR dependency '{}'. Only found one possible match '{}'.
Continuing...",
+ logger.info("While loading '{}' unable
to locate exact NAR dependency '{}'. Only found one possible match '{}'.
Continuing...",
narDetail.getCoordinate().getCoordinate(), dependencyCoordinateStr,
coordinate.getCoordinate());
final ClassLoader
narDependencyClassLoader =
narCoordinateClassLoaderLookup.get(coordinate.getCoordinate());
@@ -424,7 +424,7 @@ public final class NarClassLoaders {
final Optional<Bundle> matchingDependencyIdBundle =
getBundle(coordinate);
if (matchingDependencyIdBundle.isPresent()) {
final String dependencyCoordinateStr =
bundleDependencyCoordinate.getCoordinate();
- logger.warn("While loading '{}' unable to locate
exact NAR dependency '{}'. Only found one possible match '{}'. Continuing...",
+ logger.info("While loading '{}' unable to locate
exact NAR dependency '{}'. Only found one possible match '{}'. Continuing...",
bundleDetail.getCoordinate().getCoordinate(), dependencyCoordinateStr,
coordinate.getCoordinate());
final ClassLoader narDependencyClassLoader =
matchingDependencyIdBundle.get().getClassLoader();