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 GitBox <gi...@apache.org> on 2019/08/28 18:25:31 UTC

[GitHub] [hadoop] adoroszlai commented on a change in pull request #1357: HDDS-2042. Avoid log on console with Ozone shell

adoroszlai commented on a change in pull request #1357: HDDS-2042. Avoid log on console with Ozone shell
URL: https://github.com/apache/hadoop/pull/1357#discussion_r318728169
 
 

 ##########
 File path: hadoop-ozone/common/src/main/bin/ozone
 ##########
 @@ -136,6 +138,7 @@ function ozonecmd_case
     ;;
     sh | shell)
       HADOOP_CLASSNAME=org.apache.hadoop.ozone.web.ozShell.OzoneShell
+      HDFS_OM_SH_OPTS="${HDFS_OM_SH_OPTS} -Dhadoop.log.file=ozone-shell.log -Dlog4j.configuration=file:${HADOOP_CONF_DIR}/ozone-shell-log4j.properties"
 
 Review comment:
   I would prefer `OZONE_SH_OPTS`.  However, this is an existing variable.  I kept its name to avoid breaking anyone's scripts.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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