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

ASF subversion and git services commented on NIFI-15715:
--------------------------------------------------------

Commit cfef1137eb3e7bf4f22f7edc0238833ad6ae4de7 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=cfef1137eb3 ]

NIFI-15715 Fixed Mock CapturingLogger Throwable argument handling and added 
tests to TransformXml (#11008)

Signed-off-by: David Handermann <[email protected]>

> 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: 20m
>  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)

Reply via email to