Daniel Stieglitz created NIFI-15715:
---------------------------------------
Summary: 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
As discussed in the following Slack
[thread|[https://apachenifi.slack.com/archives/C0L9S92JY/p1773177616276779|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)