[
https://issues.apache.org/jira/browse/NIFI-15715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15715:
------------------------------------
Description:
As discussed in the following Slack thread
[https://apachenifi.slack.com/archives/C0L9S92JY/p1773177616276779] it was
discovered that CapturingLogger does not capture the Throwable in those log
methods whose signature is (String format, Object... arguments) in order to
populate a LogMessage object. This prevents unit tests for checking stack
traces.
Included in this ticket are unit tests which exercise using parameters in the
TransformXml which need the fix for CapturingLogger in order to assert failures
from stack traces.
was:
As discussed in the following Slack
[thread|[https://apachenifi.slack.com/archives/C0L9S92JY/p1773177616276779]] it
was discovered that CapturingLogger does not capture the Throwable in those log
methods whose signature is (String format, Object... arguments) in order to
populate a LogMessage object. This prevents unit tests for checking stack
traces.
Included in this ticket are unit tests which exercise using parameters in the
TransformXml which need the fix for CapturingLogger in order to assert failures
from stack traces.
> CapturingLogger not capturing Throwable in those log methods whose signature
> is (String format, Object... arguments)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-15715
> URL: https://issues.apache.org/jira/browse/NIFI-15715
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> As discussed in the following Slack thread
> [https://apachenifi.slack.com/archives/C0L9S92JY/p1773177616276779] it was
> discovered that CapturingLogger does not capture the Throwable in those log
> methods whose signature is (String format, Object... arguments) in order to
> populate a LogMessage object. This prevents unit tests for checking stack
> traces.
> Included in this ticket are unit tests which exercise using parameters in the
> TransformXml which need the fix for CapturingLogger in order to assert
> failures from stack traces.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)