diff --git a/iceoryx_hoofs/testing/testing_logger.cpp b/iceoryx_hoofs/testing/testing_logger.cpp index 9803e1a74d..73f1589193 100644 --- a/iceoryx_hoofs/testing/testing_logger.cpp +++ b/iceoryx_hoofs/testing/testing_logger.cpp @@ -83,6 +83,7 @@ void TestingLogger::printLogBuffer() noexcept puts(log.c_str()); } puts("#### Log end ####"); + loggerData->buffer.clear(); } uint64_t TestingLogger::getNumberOfLogMessages() noexcept