Explorar o código

HPCC-20575 Comment out debugging information in spark components

Signed-off-by: Michael Gardner <michael.garder@lexisnexisrisk.com>
Michael Gardner %!s(int64=6) %!d(string=hai) anos
pai
achega
d7d2f5a738
Modificáronse 2 ficheiros con 6 adicións e 4 borrados
  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