[
https://issues.apache.org/jira/browse/NIFI-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091036#comment-15091036
]
Joseph Witt commented on NIFI-1376:
-----------------------------------
[~rpmiskin] I see what you mean given the bulletin comment. The intent would
certainly be that provenance data is available as a live part of the flow but
we are not using that as a live in-flow thing yet so your ideas around the log
are valuable. I do think the second code snippet you provided is the right
idea/concept though the provenance data would be less about debugging at a code
level and more about understanding at a user level so the stack traces would
have no place in provenance but certainly do in logs.
Thanks for explaining the perspective a bit more.
JOe
> Provide access to logged messages from TestRunner
> -------------------------------------------------
>
> Key: NIFI-1376
> URL: https://issues.apache.org/jira/browse/NIFI-1376
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 0.4.1
> Reporter: Richard Miskin
> Priority: Minor
> Fix For: 0.5.0
>
>
> It would be useful to be able to verify the log messages raised by Processors
> and ControllerServices during tests.
> As an example use case, imagine a processor with multiple possible errors
> that should cause a flow file to be transferred to a failure Relationship,
> but different messages should be logged.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)