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

David Handermann commented on NIFI-13265:
-----------------------------------------

[~dstiegli1], for warning cases like that one from PutS3Object, the purpose 
appears to be including the message, but not the stack trace. In most cases, 
the full exception should be included in order to log the stack trace, but for 
certain selected instances, the stack trace is not necessary because the 
message itself contains enough information for troubleshooting.

> Remove the instantiation of Object arrays for arguments in ComponentLog log 
> and org.slf4j.Logger statements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-13265
>                 URL: https://issues.apache.org/jira/browse/NIFI-13265
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> There are still classes after the changes in NIFI-12075 and NIFI-12076 which 
> instantiate an Object array for ComponentLog log statements. This ticket aims 
> to remove those instantiations. In addition similar changes should be made to 
> org.slf4j.Logger statements.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to