Kevin Doran created NIFI-16410:
----------------------------------

             Summary: Log single-match NAR dependency fallback at INFO instead 
of WARN
                 Key: NIFI-16410
                 URL: https://issues.apache.org/jira/browse/NIFI-16410
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Kevin Doran


When NiFi cannot find the exact declared NAR dependency but finds a single 
alternative matching the dependency ID, it uses that dependency and continues 
loading. This supported fallback currently logs at WARN:
While loading 'org.example:example-processors-nar:1.1.0' unable to locate exact 
NAR dependency 'org.example:example-api-nar:1.1.0'. Only found one possible 
match 'org.example:example-api-nar:1.0.0'. Continuing...
Change this message to INFO in both startup loading and additional NAR loading 
inĀ {{{}NarClassLoaders{}}}. This keeps the dependency substitution visible 
without presenting it as a loading failure.

Dependency resolution behavior and warnings for unresolved dependencies remain 
unchanged.



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

Reply via email to