[
https://issues.apache.org/jira/browse/NIFI-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060949#comment-17060949
]
Otto Fowler commented on NIFI-7264:
-----------------------------------
1. Based on the documentation, I think that the correct change for that
function is to catch path not found and not log, but log other exceptions as it
is now.
${record_json:jsonPathWithDefault('$.pass.reissue_date'),'undefined'} would be
an example.
> Make jsonPath Expression Logging More Reasonable
> ------------------------------------------------
>
> Key: NIFI-7264
> URL: https://issues.apache.org/jira/browse/NIFI-7264
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Shawn Weeks
> Assignee: Otto Fowler
> Priority: Trivial
>
> Currently JsonPathEvaluator logs on all errors despite some errors like the
> PathNotFoundException that might only need to be logged at the debug level.
> Since these kind of errors aren't returned to the UI we're just filling up
> the logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)