elek commented on issue #74: HDDS-2348.Remove log4j properties for package org.apache.hadoop.ozone URL: https://github.com/apache/hadoop-ozone/pull/74#issuecomment-546878718 Thanks to explain it @chimney-lee This is the original logging configuration which is used to separate the ozone logging configuraiton from core hadoop/hdfs/yarn configuration when the ozone was part of the hdfs daemon. I agree with you that it can be removed. But I would remove all the following lines as well as they won't be used any more (and we can use the main console and RFA loggers): ``` # Do not log into datanode logs. Remove this line to have single log. log4j.additivity.org.apache.hadoop.ozone=false # For development purposes, log both to console and log file. log4j.appender.OZONE=org.apache.log4j.ConsoleAppender log4j.appender.OZONE.Threshold=info log4j.appender.OZONE.layout=org.apache.log4j.PatternLayout log4j.appender.OZONE.layout.ConversionPattern=%d{ISO8601} [%t] %-5p \ %X{component} %X{function} %X{resource} %X{user} %X{request} - %m%n # Real ozone logger that writes to ozone.log log4j.appender.FILE=org.apache.log4j.DailyRollingFileAppender log4j.appender.FILE.File=${hadoop.log.dir}/ozone.log log4j.appender.FILE.Threshold=debug log4j.appender.FILE.layout=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.ConversionPattern=%d{ISO8601} [%t] %-5p \ (%F:%L) %X{function} %X{resource} %X{user} %X{request} - \ %m%n ``` Can you please remove all these lines as well?
---------------------------------------------------------------- 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 With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org