From 9a2f0defdd06f3dbfa3646214aea71deb60b0975 Mon Sep 17 00:00:00 2001 From: tristaZero Date: Mon, 4 Mar 2019 11:35:55 +0800 Subject: [PATCH] modify log method --- .../sharding-proxy-bootstrap/src/main/resources/bin/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharding-proxy/sharding-proxy-bootstrap/src/main/resources/bin/start.sh b/sharding-proxy/sharding-proxy-bootstrap/src/main/resources/bin/start.sh index 9940e3909e..39e278a5c3 100644 --- a/sharding-proxy/sharding-proxy-bootstrap/src/main/resources/bin/start.sh +++ b/sharding-proxy/sharding-proxy-bootstrap/src/main/resources/bin/start.sh @@ -39,6 +39,6 @@ if [ $# == 2 ]; then echo "The configuration file is $DEPLOY_DIR/conf/$2" fi -nohup java ${JAVA_OPTS} ${JAVA_MEM_OPTS} -classpath ${CLASS_PATH} ${MAIN_CLASS} > ${STDOUT_FILE} 2>&1 & +nohup java ${JAVA_OPTS} ${JAVA_MEM_OPTS} -classpath ${CLASS_PATH} ${MAIN_CLASS} >> ${STDOUT_FILE} 2>&1 & sleep 1 echo "Please check the STDOUT file: $STDOUT_FILE" -- GitLab