-/* Copyright (C) 2007-2013 Open Information Security Foundation
+/* Copyright (C) 2007-2020 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
tx_id = ires.tx_id;
AppLayerTxData *txd = AppLayerParserGetTxData(ipproto, alproto, tx);
+ if (txd) {
+ SCLogDebug("tx %p/%"PRIu64" txd %p: log_flags %x", tx, tx_id, txd, txd->config.log_flags);
+ if (txd->config.log_flags & BIT_U8(CONFIG_TYPE_TX)) {
+ SCLogDebug("SKIP tx %p/%"PRIu64, tx, tx_id);
+ goto next_tx;
+ }
+ }
+
if (list[ALPROTO_UNKNOWN] != 0) {
OutputTxLogList0(tv, op_thread_data, p, f, tx, tx_id);
if (list[alproto] == NULL)
#include "output-streaming.h"
#include "output-stats.h"
+#include "util-config.h"
+
typedef struct OutputInitResult_ {
OutputCtx *ctx;
bool ok;