From ab1a0a06dd80c2b7afbe0ba3dd48cf6eb454c1eb Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 30 Mar 2022 15:36:56 +0200 Subject: Add a new log level for progress updates --- test/end-to-end/actions/action-equality.sh | 2 +- test/utils/logging/log_config.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/end-to-end/actions/action-equality.sh b/test/end-to-end/actions/action-equality.sh index 72762f30..ffe841f4 100755 --- a/test/end-to-end/actions/action-equality.sh +++ b/test/end-to-end/actions/action-equality.sh @@ -46,7 +46,7 @@ cat > TARGETS <<'EOI' EOI -bin/tool-under-test build -J 1 --local_build_root .tool-root -f build.log 2>&1 +bin/tool-under-test build -J 1 --local_build_root .tool-root -f build.log --log-limit 2 2>&1 cat build.log echo grep 'Processed.* 4 actions' build.log diff --git a/test/utils/logging/log_config.hpp b/test/utils/logging/log_config.hpp index 9f243d83..8c9c6388 100644 --- a/test/utils/logging/log_config.hpp +++ b/test/utils/logging/log_config.hpp @@ -25,6 +25,7 @@ static auto ReadLogLevelFromEnv() -> LogLevel { case LogLevel::Error: case LogLevel::Warning: case LogLevel::Info: + case LogLevel::Progress: case LogLevel::Debug: case LogLevel::Trace: return log_level; -- cgit v1.2.3