jerryshao commented on code in PR #9549:
URL: https://github.com/apache/gravitino/pull/9549#discussion_r2646436759


##########
bin/gravitino-iceberg-rest-server.sh.template:
##########
@@ -146,9 +146,9 @@ 
GRAVITINO_SERVER_NAME=org.apache.gravitino.iceberg.server.GravitinoIcebergRESTSe
 GRAVITINO_SIMPLE_SERVER_NAME=gravitino-iceberg-rest-server
 
 JAVA_OPTS+=" -Dfile.encoding=UTF-8"
-JAVA_OPTS+=" 
-Dlog4j2.configurationFile=file://${GRAVITINO_CONF_DIR}/log4j2.properties"
-JAVA_OPTS+=" -Dgravitino.log.path=${GRAVITINO_LOG_DIR} ${GRAVITINO_MEM}"
-JAVA_OPTS+=" -Dgravitino.server.name=${GRAVITINO_SIMPLE_SERVER_NAME}"
+JAVA_OPTS+=" 
-Dlog4j2.configurationFile=file://${GRAVITINO_CONF_DIR}/gravitino-iceberg-rest-log4j2.properties"
+JAVA_OPTS+=" -Dgravitino.iceberg-rest-server.log.path=${GRAVITINO_LOG_DIR} 
${GRAVITINO_MEM}"

Review Comment:
   Update "${GRAVITINO_MEM}" to a new line of `JAVA_OPTS`. This is unrelated to 
log4j-related configuration.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to