You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/14 16:32:00 UTC

[jira] [Commented] (NIFI-9923) Component Logs sometimes missing Throwable Causes

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

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

Commit e76acabe9eda709f580a8d8a535cba78c2b61d18 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e76acabe9e ]

NIFI-9923 Corrected SimpleProcessLogger handling of Throwable causes

- Changed log methods that accept a String and Object array to replace the last Throwable argument with a formatted summary of causes when calling LogRepository.addLogMessage()

Signed-off-by: Joe Gresock <jg...@gmail.com>

This closes #5965.


> Component Logs sometimes missing Throwable Causes
> -------------------------------------------------
>
>                 Key: NIFI-9923
>                 URL: https://issues.apache.org/jira/browse/NIFI-9923
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>             Fix For: 1.16.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As a result of improvements to correct component stack trace logging in NIFI-9871, some calls to {{SimpleProcessLogger}} through {{ComponentLog}} do not include the {{Throwable}} summary of causes in Bulletin Messages.
> The {{nifi-app.log}} contains the correct formatting and stack trace, and this issue does not impact any released versions.
> The problem is the result of adding the summary of causes as an argument to the Log Repository array of arguments, instead of replacing the {{Throwable}} with the summary of causes.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)