[
https://issues.apache.org/jira/browse/NIFI-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15092740#comment-15092740
]
ASF GitHub Bot commented on NIFI-1283:
--------------------------------------
GitHub user jvwing opened a pull request:
https://github.com/apache/nifi/pull/166
NIFI-1283 Fixing ControllerStatusReportingTask logger name
ControllerStatusReportingTask was using an abbreviated class name to prefix
its loggers, "ControllerStatusReportingTask", instead of the fully-qualified
name "org.apache.nifi.controller.ControllerStatusReportingTask", as specified
in the documentation and standard across reporting tasks in the same package.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jvwing/nifi nifi-1283
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/166.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #166
----
commit c526656a228389aa972ce7ebc1df037333000516
Author: James Wing <[email protected]>
Date: 2016-01-11T21:39:15Z
NIFI-1283 Fixing ControllerStatusReportingTask loggers to use
fully-qualified class name
----
> Documentation wrong for ControllerStatusReportingTask
> -----------------------------------------------------
>
> Key: NIFI-1283
> URL: https://issues.apache.org/jira/browse/NIFI-1283
> Project: Apache NiFi
> Issue Type: Bug
> Components: Documentation & Website
> Affects Versions: 0.4.0
> Reporter: Matthew Clarke
> Priority: Minor
> Labels: beginner, newbie
> Fix For: 0.5.0
>
>
> The documentation explains how to separate the processor and connection
> logging out to a new log file. The logger names provided do not work.
> Original:
> If may be convenient to redirect the logging output of this ReportingTask to
> a separate log file than the typical application log. This can be
> accomplished by modified the logback.xml file in the NiFi conf/ directory
> such that a logger with the name
> org.apache.nifi.controller.ControllerStatusReportingTask is configured to
> write to a separate log.
> Additionally, it may be convenient to disable logging for Processors or for
> Connections or to split them into separate log files. This can be
> accomplished by using the loggers named
> org.apache.nifi.controller.ControllerStatusReportingTask.Processors and
> org.apache.nifi.controller.ControllerStatusReportingTask.Connections,
> respectively.
> The correct loggers to use would be:
> ControllerStatusReportingTask
> ControllerStatusReportingTask.Processors
> ControllerStatusReportingTask.Connections
> If you include the org.apache.nifi.controller protion the logger will not
> work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)