From 5d311809aac180b453b55ae3cdd2b872fb5b985e Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Sat, 11 Jul 2020 04:17:53 +0000 Subject: [PATCH] debug(bklog):Remove debug msgs from main loop --- exec/bklog | 5 ----- 1 file changed, 5 deletions(-) diff --git a/exec/bklog b/exec/bklog index 6fc61e4..af53431 100644 --- a/exec/bklog +++ b/exec/bklog @@ -1235,15 +1235,10 @@ main() { bufferRound=0; while [[ $SECONDS -lt "scriptTTL" ]]; do bufferTOD="$((SECONDS + bufferTTL))"; # Set buffer round time-of-death - lineCount=0; # Debug counter # Consume stdin to fill buffer until buffer time-of-death (TOD) arrives while read -r -t "$bufferTTL" line && [[ $SECONDS -lt "$bufferTOD" ]]; do # Append line to buffer array buffer+=("$line"); - vbm "DEBUG:Processing line:$lineCount"; - vbm "DEBUG:Current line :$line"; - vbm "DEBUG:buf elem count :${#buffer[@]}"; - ((lineCount++)); done; # Create dir_tmp if missing if ! [[ -d "$dir_tmp" ]]; then yell "ERROR:dir_tmp existence failure:$dir_tmp"; try mkdir "$dir_tmp" && vbm "DEBUG:Working dir recreated dir_tmp:$dir_tmp"; fi -- 2.30.2