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 2021/11/29 17:57:00 UTC
[jira] [Commented] (NIFI-9394) Remove RequestLogger Filter and TimerFilter
[ https://issues.apache.org/jira/browse/NIFI-9394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450637#comment-17450637 ]
ASF subversion and git services commented on NIFI-9394:
-------------------------------------------------------
Commit 6a6b755aaadf4c88a54406e4b9d5e77ea05bbb06 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6a6b755 ]
NIFI-9394 Removed RequestLogger and TimerFilter
- Removed logger references from logback.xml
Signed-off-by: Joe Gresock <jg...@gmail.com>
This closes #5543.
> Remove RequestLogger Filter and TimerFilter
> -------------------------------------------
>
> Key: NIFI-9394
> URL: https://issues.apache.org/jira/browse/NIFI-9394
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core UI, Security
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> With the introduction of standardized HTTP Request Logging in NIFI-9291, the custom {{RequestLogger}} and {{TimerFilter}} classes should be removed.
> The {{RequestLogger}} filter logs informational messages for unencrypted HTTP access attempts. With the default NiFi configuration enabling HTTPS, this use case is no longer common, and HTTP Request Logging in nifi-request.log can provide the same information plus additional request details.
> The {{TimerFilter}} runs for every HTTP request and writes debug log messages that include millisecond timing information as well as the contents of {{X-RequestTransactionId}} and {{X-Request-Replicated}} HTTP headers. This debug logging is not enabled in the default Logback configuration. The same header and request timing information can be captured using a custom {{nifi.web.request.log.format}} with the following message format:
> {noformat}
> %{X-RequestTransactionId}i %{X-Request-Replicated}i %T
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)