From 8d2883f3fa3ac0f4811a7ede46f35ec9456bdff5 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 7 Dec 2018 13:18:37 +0100 Subject: [PATCH] output/tx: fix multi-instance logger output Fix transactions not being logged after the first tx logger had logged. --- src/output-tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output-tx.c b/src/output-tx.c index 33fb8786ac..c51103f3f1 100644 --- a/src/output-tx.c +++ b/src/output-tx.c @@ -205,7 +205,7 @@ static TmEcode OutputTxLog(ThreadVars *tv, Packet *p, void *thread_data) "tc_log_progress %d", logger, logger->LogCondition, logger->ts_log_progress, logger->tc_log_progress); if (logger->alproto == alproto && - (tx_logged & (1<logger_id)) == 0) + (tx_logged_old & (1<logger_id)) == 0) { SCLogDebug("alproto match, logging tx_id %"PRIu64, tx_id); -- 2.47.2