This is an automated email from the ASF dual-hosted git repository.

apucher pushed a commit to branch thirdeye-temp
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit be30a9f7ddf9933231bb02eac6e05ee59ee7bfac
Author: Alexander Pucher <a...@alexpucher.com>
AuthorDate: Thu Jul 23 16:25:20 2020 -0700

    add log conf to Dockerfile launch script
---
 docker/images/pinot-thirdeye/bin/start-thirdeye.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/images/pinot-thirdeye/bin/start-thirdeye.sh 
b/docker/images/pinot-thirdeye/bin/start-thirdeye.sh
index 92b8d87..56498a8 100755
--- a/docker/images/pinot-thirdeye/bin/start-thirdeye.sh
+++ b/docker/images/pinot-thirdeye/bin/start-thirdeye.sh
@@ -39,11 +39,11 @@ fi
 
 echo "Running thirdeye backend config: ${CONFIG_DIR}"
 [ -f "${CONFIG_DIR}/data-sources/data-sources-config-backend.yml" ] && cp 
"${CONFIG_DIR}/data-sources/data-sources-config-backend.yml" 
"${CONFIG_DIR}/data-sources/data-sources-config.yml"
-java -cp "./bin/thirdeye-pinot.jar" 
org.apache.pinot.thirdeye.anomaly.ThirdEyeAnomalyApplication "${CONFIG_DIR}" &
+java -Dlog4j.configurationFile=log4j2.xml -cp "./bin/thirdeye-pinot.jar" 
org.apache.pinot.thirdeye.anomaly.ThirdEyeAnomalyApplication "${CONFIG_DIR}" &
 sleep 10
 
 echo "Running thirdeye frontend config: ${CONFIG_DIR}"
 [ -f "${CONFIG_DIR}/data-sources/data-sources-config-frontend.yml" ] && cp 
"${CONFIG_DIR}/data-sources/data-sources-config-frontend.yml" 
"${CONFIG_DIR}/data-sources/data-sources-config.yml"
-java -cp "./bin/thirdeye-pinot.jar" 
org.apache.pinot.thirdeye.dashboard.ThirdEyeDashboardApplication 
"${CONFIG_DIR}" &
+java -Dlog4j.configurationFile=log4j2.xml -cp "./bin/thirdeye-pinot.jar" 
org.apache.pinot.thirdeye.dashboard.ThirdEyeDashboardApplication 
"${CONFIG_DIR}" &
 
 wait


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to