[ 
https://issues.apache.org/jira/browse/NIFI-15715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Handermann resolved NIFI-15715.
-------------------------------------
    Fix Version/s: 2.9.0
       Resolution: Fixed

> 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
>             Fix For: 2.9.0
>
>          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