xtrace less
we are xtrace happy, however that's just generating bulk in log
files that are mostly ignorable. For the basically bullet proof
functions we should not xtrace.
Change-Id: Iab4e6d270c1546e0db2a06395cefcdf7f7929c3c
diff --git a/stack.sh b/stack.sh
index ce19b8f..0fdac33 100755
--- a/stack.sh
+++ b/stack.sh
@@ -529,6 +529,7 @@
if [[ "$VERBOSE" == "True" ]]; then
# Redirect stdout/stderr to tee to write the log file
exec 1> >( awk '
+ /((set \+o$)|xtrace)/ { next }
{
cmd ="date +\"%Y-%m-%d %H:%M:%S \""
cmd | getline now