You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/03/20 14:13:00 UTC

[jira] [Commented] (HADOOP-17526) HttpRequestLog should be configured via Configuration instead of log4j.properties

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

Duo Zhang commented on HADOOP-17526:
------------------------------------

Since hadoop is still on jetty 9.3, we could make use of Slf4jRequestLog in HttpRequestLog to remove the dependency on log4j directly.

For jetty 9.4, the pattern has been changed to make use of CustomRequestLog and Slf4jRequestLogWriter.

> HttpRequestLog should be configured via Configuration instead of log4j.properties
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-17526
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17526
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Akira Ajisaka
>            Priority: Major
>
> Now the log file name and retain days in HttpRequestLog is configured from log4j.properties. It can be configured from Configuration instead to drop the usage of log4j API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org