You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2024/12/09 15:54:00 UTC
[jira] [Created] (MINIFICPP-2499) Do not log errors when loading Python helper files
Ferenc Gerlits created MINIFICPP-2499:
-----------------------------------------
Summary: 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
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 to Python classes, 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)