output/tx: fix multi-instance logger output

Fix transactions not being logged after the first tx logger had
logged.
pull/3576/head
Victor Julien 7 years ago
parent 0e40231189
commit 8d2883f3fa

@ -205,7 +205,7 @@ static TmEcode OutputTxLog(ThreadVars *tv, Packet *p, void *thread_data)
"tc_log_progress %d", logger, logger->LogCondition, "tc_log_progress %d", logger, logger->LogCondition,
logger->ts_log_progress, logger->tc_log_progress); logger->ts_log_progress, logger->tc_log_progress);
if (logger->alproto == alproto && if (logger->alproto == alproto &&
(tx_logged & (1<<logger->logger_id)) == 0) (tx_logged_old & (1<<logger->logger_id)) == 0)
{ {
SCLogDebug("alproto match, logging tx_id %"PRIu64, tx_id); SCLogDebug("alproto match, logging tx_id %"PRIu64, tx_id);

Loading…
Cancel
Save