[ 
https://issues.apache.org/jira/browse/HDDS-2217?focusedWorklogId=324891&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324891
 ]

ASF GitHub Bot logged work on HDDS-2217:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Oct/19 06:52
            Start Date: 08/Oct/19 06:52
    Worklog Time Spent: 10m 
      Work Description: elek commented on issue #1582: HDDS-2217. Removed 
redundant LOG4J lines from docker configurations
URL: https://github.com/apache/hadoop/pull/1582#issuecomment-539368083
 
 
   If you think about the integration tests, they are independent (I am working 
to remove that noise).
   
   I don't know what has been happened but I think you did some merge instead 
of rebase. Behind this link:
   
   https://github.com/apache/hadoop/pull/1582/files
   
   I see hundred of files which are changed but ideally only docker-config 
files should be there. 
   
   Try:
   
   ```
   git checkout HDDS-2217
   git rebase origin/trunk
   git rebase -i trunk
   # chance all the picks to d before the lines which are not part of your patch
   git push -f
   ```
   
   (Or ping me offline if you have problems...)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 324891)
    Time Spent: 3h  (was: 2h 50m)

> Remove log4j and audit configuration from the docker-config files
> -----------------------------------------------------------------
>
>                 Key: HDDS-2217
>                 URL: https://issues.apache.org/jira/browse/HDDS-2217
>             Project: Hadoop Distributed Data Store
>          Issue Type: Task
>          Components: docker
>            Reporter: Marton Elek
>            Assignee: Chris Teoh
>            Priority: Major
>              Labels: newbie, pull-request-available
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> Log4j configuration lines are added to the docker-config under 
> hadoop-ozone/dist/src/main/compose/...
> Mainly to make it easier to reconfigure the log level of any components.
> As we already have a "ozone insight" tool which can help us to modify the log 
> level at runtime we don't need these lines any more.
> {code:java}
> LOG4J.PROPERTIES_log4j.rootLogger=INFO, stdout
> LOG4J.PROPERTIES_log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> LOG4J.PROPERTIES_log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> LOG4J.PROPERTIES_log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd 
> HH:mm:ss} %-5p %c{1}:%L - %m%n
> LOG4J.PROPERTIES_log4j.logger.org.apache.hadoop.util.NativeCodeLoader=ERROR
> LOG4J.PROPERTIES_log4j.logger.org.apache.ratis.conf.ConfUtils=WARN
> LOG4J.PROPERTIES_log4j.logger.org.apache.hadoop.security.ShellBasedUnixGroupsMapping=ERROR
> LOG4J.PROPERTIES_log4j.logger.org.apache.ratis.grpc.client.GrpcClientProtocolClient=WARN
> LOG4J.PROPERTIES_log4j.logger.http.requests.s3gateway=INFO,s3gatewayrequestlog
> LOG4J.PROPERTIES_log4j.appender.s3gatewayrequestlog=org.apache.hadoop.http.HttpRequestLogAppender
> LOG4J.PROPERTIES_log4j.appender.s3gatewayrequestlog.Filename=/tmp/jetty-s3gateway-yyyy_mm_dd.log
> LOG4J.PROPERTIES_log4j.appender.s3gatewayrequestlog.RetainDays=3 {code}
> We can remove them together with the audit log entries as we already have a 
> default log4j.propertes / audit log4j2 config.
> After the remove the clusters should be tested: Ozone CLI should not print 
> and confusing log messages (such as NativeLib is missing or anything else). 
> AFAIK they are already turned off in the etc/hadoop/etc log4j.properties.
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to