[
https://issues.apache.org/jira/browse/NIFI-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599697#comment-17599697
]
ASF subversion and git services commented on NIFI-10431:
--------------------------------------------------------
Commit 7a90137cef84c98a1d85f000fd2b264e9dae13c6 in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=7a90137cef ]
NIFI-10431: Improved log messages and Exception messages to indicate which
components they pertain to. Also added a toString() for StandardLabel to make
it more clear which Label is being referenced
Signed-off-by: Joe Gresock <[email protected]>
This closes #6361.
> Improve logging/exceptions that pertain to individual components
> ----------------------------------------------------------------
>
> Key: NIFI-10431
> URL: https://issues.apache.org/jira/browse/NIFI-10431
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 1.18.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There are many Exceptions/log statements that state something like "Cannot
> enable Processor because it is not disabled." However, the message doesn't
> indicate which Processor cannot be enabled. While this Exception makes sense
> in the context of the UI most of the time, it makes little sense when reading
> logs.
> We need to include the toString() of the object that the message pertains to.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)