From 0f4daa13308bd79178ca1fa4cdb7904e9ef3f1c7 Mon Sep 17 00:00:00 2001 From: Jari Nippula Date: Wed, 11 Oct 2023 15:10:01 +0300 Subject: [PATCH] Parallel_logging: Disable reliable_transfer for dynamic ADD_LOGGED_MSG --- src/modules/logger/logger.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modules/logger/logger.cpp b/src/modules/logger/logger.cpp index 52d54b2e5fb3..73c8555f1ec3 100644 --- a/src/modules/logger/logger.cpp +++ b/src/modules/logger/logger.cpp @@ -1922,11 +1922,7 @@ void Logger::write_add_logged_msg(LogType type, LoggerSubscription &subscription bool prev_reliable = _writer.need_reliable_transfer(); _writer.set_need_reliable_transfer(true); -#ifdef LOGGER_PARALLEL_LOGGING - write_message(type, &msg, msg_size, true); -#else - write_message(type, &msg, msg_size); -#endif + write_message(type, &msg, msg_size, acked); _writer.set_need_reliable_transfer(prev_reliable); }