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

amestry pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new 62c682b  ATLAS-3944: Logs of import scripts should go to Atlas default 
log directory
62c682b is described below

commit 62c682b344c245015bca4e3d6bf7f55b5394a5e2
Author: Deep Singh <[email protected]>
AuthorDate: Thu Sep 17 11:09:59 2020 -0700

    ATLAS-3944: Logs of import scripts should go to Atlas default log directory
    
    Signed-off-by: Ashutosh Mestry <[email protected]>
---
 addons/hbase-bridge/src/bin/import-hbase.sh | 2 +-
 addons/hive-bridge/src/bin/import-hive.sh   | 2 +-
 addons/kafka-bridge/src/bin/import-kafka.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/addons/hbase-bridge/src/bin/import-hbase.sh 
b/addons/hbase-bridge/src/bin/import-hbase.sh
index 34c4180..a343036 100644
--- a/addons/hbase-bridge/src/bin/import-hbase.sh
+++ b/addons/hbase-bridge/src/bin/import-hbase.sh
@@ -61,7 +61,7 @@ fi
 ATLASCPPATH=${ATLASCPPATH}:${ATLAS_CONF_DIR}
 
 # log dir for applications
-ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-$BASEDIR/logs}"
+ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-/var/log/atlas}"
 export ATLAS_LOG_DIR
 LOGFILE="$ATLAS_LOG_DIR/import-hbase.log"
 
diff --git a/addons/hive-bridge/src/bin/import-hive.sh 
b/addons/hive-bridge/src/bin/import-hive.sh
index b1660ea..c1adbef 100755
--- a/addons/hive-bridge/src/bin/import-hive.sh
+++ b/addons/hive-bridge/src/bin/import-hive.sh
@@ -56,7 +56,7 @@ fi
 ATLASCPPATH=${ATLASCPPATH}:${ATLAS_CONF_DIR}
 
 # log dir for applications
-ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-$BASEDIR/logs}"
+ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-/var/log/atlas}"
 export ATLAS_LOG_DIR
 LOGFILE="$ATLAS_LOG_DIR/import-hive.log"
 
diff --git a/addons/kafka-bridge/src/bin/import-kafka.sh 
b/addons/kafka-bridge/src/bin/import-kafka.sh
index 076eae8..fbc16f0 100644
--- a/addons/kafka-bridge/src/bin/import-kafka.sh
+++ b/addons/kafka-bridge/src/bin/import-kafka.sh
@@ -63,7 +63,7 @@ fi
 ATLASCPPATH=${ATLASCPPATH}:${ATLAS_CONF_DIR}
 
 # log dir for applications
-ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-$BASEDIR/logs}"
+ATLAS_LOG_DIR="${ATLAS_LOG_DIR:-/var/log/atlas}"
 export ATLAS_LOG_DIR
 LOGFILE="$ATLAS_LOG_DIR/import-kafka.log"
 

Reply via email to