You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2025/01/20 16:48:00 UTC
[jira] [Updated] (MINIFICPP-2499) Do not log errors when loading Python helper files
[ https://issues.apache.org/jira/browse/MINIFICPP-2499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marton Szasz updated MINIFICPP-2499:
------------------------------------
Fix Version/s: 0.99.1
> Do not log errors when loading Python helper files
> --------------------------------------------------
>
> Key: MINIFICPP-2499
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2499
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Minor
> Fix For: 0.99.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, when MiNiFi loads Python processors, it tries to process all files as Processor definitions, and logs error like this for all other (helper) files:
> {noformat}
> [error] Cannot load helper_functions: No python class 'helper_functions' was found!{noformat}
> Since this is normal behavior, these logs should not be errors; probably info level is enough.
> We could also add more details to the logs, eg. "file X contains no Python classes, so it will be treated as a helper file" or "file X contains Python classes Y and Z, neither matches the file name, so it will be treated as a helper file" etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)