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 2022/03/03 07:47: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=17500561#comment-17500561 ] 

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

Will pick up this one first.

After reading the code I know how HttpRequestLogAppender works, we will get the appender and also get the Filename and RetainDays field, and then create another logger...

Anyway, let's change to use Slf4jRequestLog.

> 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.20.1#820001)

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