浏览代码

HPCC-20575 Comment out debugging information in spark components

Signed-off-by: Michael Gardner <michael.garder@lexisnexisrisk.com>
Michael Gardner 6 年之前
父节点
当前提交
d7d2f5a738
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 3 2
      initfiles/sbin/sparkthor-worker.sh.in
  2. 3 2
      initfiles/sbin/sparkthor.sh.in

+ 3 - 2
initfiles/sbin/sparkthor-worker.sh.in

@@ -18,8 +18,9 @@
 _command=${1:-start}
 _component=${2:-mysparkthor}
 
-exec 3>&2 2>@LOG_PATH@/${_component}/sparkthor-worker.${_command}.debug
-set -x
+#### Uncomment following lines for verbose debugging
+#exec 3>&2 2>@LOG_PATH@/${_component}/sparkthor-worker.${_command}.debug
+#set -x
 
 export logfile="@LOG_PATH@/${_component}/sparkthor-worker.log"
 source @INSTALL_DIR@/etc/init.d/hpcc_common

+ 3 - 2
initfiles/sbin/sparkthor.sh.in

@@ -19,8 +19,9 @@
 _command=${1:-start}
 _component=${2:-mysparkthor}
 
-exec 3>&2 2>/@LOG_PATH@/${_component}/sparkthor.sh.debug
-set -x
+#### Uncomment following lines for verbose debugging
+#exec 3>&2 2>/@LOG_PATH@/${_component}/sparkthor.sh.debug
+#set -x
 
 export logfile="@LOG_PATH@/${_component}/sparkthor.log"
 source @INSTALL_DIR@/etc/init.d/hpcc_common