David Handermann created NIFI-15061:
---------------------------------------
Summary: Incorrect Logging Context for Controller Services
Key: NIFI-15061
URL: https://issues.apache.org/jira/browse/NIFI-15061
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 2.6.0
Reporter: David Handermann
Assignee: David Handermann
The StandardLoggingContext provides Process Group attributes for the standard
implementation of the ComponentLog interface. The current implementation takes
a single argument in the constructor, which can be null, requiring later
initialization using the setComponent method. Based on current behavior, the
StandardLoggingContext for Controller Services is never initialized using the
setComponent method because the ExtensionBuilder creates two different
instances of the StandardLoggingContext. Logging Context creation for
Controller Services should be corrected, and references to the
StandardLoggingContext should be reviewed and updated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)