[ 
https://issues.apache.org/jira/browse/NIFI-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060917#comment-17060917
 ] 

Otto Fowler commented on NIFI-7264:
-----------------------------------

[~Chris S], [~Absolutesantaja]

The options, from what I can see are some combination of:
1. leave it as it is
2. have it _not_ log if the exception is pathnotfound
3. have it log debug if the exception is pathnotfound, log error otherwise
4. add new function jsonPathWithDefault that allows you to set the default if 
path not found
????

> 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)

Reply via email to