This is an automated email from the ASF dual-hosted git repository.
akshayrai09 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 33f5dd7 [TE] fix run-backend.sh with log4j2 (#5629)
33f5dd7 is described below
commit 33f5dd78ade1b082282eb64add226217b94bb230
Author: Vincent Chen <[email protected]>
AuthorDate: Fri Jun 26 14:23:02 2020 -0700
[TE] fix run-backend.sh with log4j2 (#5629)
---
thirdeye/run-backend.sh | 2 +-
thirdeye/thirdeye-pinot/config/detector.yml | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/thirdeye/run-backend.sh b/thirdeye/run-backend.sh
index 8e09c51..d70d7e4 100755
--- a/thirdeye/run-backend.sh
+++ b/thirdeye/run-backend.sh
@@ -4,5 +4,5 @@ echo "Launching ThirdEye backend worker in demo mode"
echo "*******************************************************"
cd thirdeye-pinot
-java -cp "./target/thirdeye-pinot-1.0.0-SNAPSHOT.jar"
org.apache.pinot.thirdeye.anomaly.ThirdEyeAnomalyApplication "./config"
+java -Dlog4j.configurationFile=log4j2.xml -cp
"./target/thirdeye-pinot-1.0.0-SNAPSHOT.jar"
org.apache.pinot.thirdeye.anomaly.ThirdEyeAnomalyApplication "./config"
cd ..
diff --git a/thirdeye/thirdeye-pinot/config/detector.yml
b/thirdeye/thirdeye-pinot/config/detector.yml
index dd1d9d9..f9f15f1 100644
--- a/thirdeye/thirdeye-pinot/config/detector.yml
+++ b/thirdeye/thirdeye-pinot/config/detector.yml
@@ -11,6 +11,8 @@ server:
adminConnectors:
- type: http
port: 1868
+ requestLog:
+ type: external
alert: false
autoload: false
classifier: false
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]