diff --git a/lntest/itest/log_check_errors.sh b/lntest/itest/log_check_errors.sh index 15296845b..009c3d97f 100755 --- a/lntest/itest/log_check_errors.sh +++ b/lntest/itest/log_check_errors.sh @@ -5,7 +5,7 @@ BASEDIR=$(dirname "$0") echo "" # Filter all log files for errors, substitute variable data and match against whitelist. -cat $BASEDIR/*.log | grep "\[ERR\]" | \ +find $BASEDIR -name "*.log" | xargs grep -h "\[ERR\]" | \ sed -r -f $BASEDIR/log_substitutions.txt | \ sort | uniq | \ grep -Fvi -f $BASEDIR/log_error_whitelist.txt diff --git a/lntest/itest/log_error_whitelist.txt b/lntest/itest/log_error_whitelist.txt index 79a5cb4a4..0dc897e8b 100644 --- a/lntest/itest/log_error_whitelist.txt +++ b/lntest/itest/log_error_whitelist.txt @@ -2,6 +2,7 @@