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); }