From 161f16641fe15ef3e2a96e1d95a5a7e7191bfdd1 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 25 Sep 2025 09:34:28 +0200 Subject: [PATCH] tests: fix min severity doesn't get updated If the logger is started with `Activate()` before `SetActive()`, it won't log anything, as the logger updates the "min severity" value of loggers only when starting them, and if they're not active at that point, they will just be ignored, so the min severity remains at info. --- test/base-testloggerfixture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/base-testloggerfixture.hpp b/test/base-testloggerfixture.hpp index fd2038678..d17cdda30 100644 --- a/test/base-testloggerfixture.hpp +++ b/test/base-testloggerfixture.hpp @@ -95,8 +95,8 @@ struct TestLoggerFixture TestLoggerFixture() { testLogger->SetSeverity(testLogger->SeverityToString(LogDebug)); - testLogger->Activate(true); testLogger->SetActive(true); + testLogger->Activate(true); } ~TestLoggerFixture()