From: Victor Julien Date: Tue, 12 Jul 2016 15:07:25 +0000 (+0200) Subject: output lua: improve debugging output X-Git-Tag: suricata-3.1.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2174%2Fhead;p=thirdparty%2Fsuricata.git output lua: improve debugging output --- diff --git a/src/output-tx.c b/src/output-tx.c index 093e2e5931..311cc70f43 100644 --- a/src/output-tx.c +++ b/src/output-tx.c @@ -171,13 +171,18 @@ static TmEcode OutputTxLog(ThreadVars *tv, Packet *p, void *thread_data, PacketQ int tx_progress_tc = AppLayerParserGetStateProgress(p->proto, alproto, tx, FlowGetDisruptionFlags(f, STREAM_TOCLIENT)); + SCLogDebug("tx_progress_ts %d tx_progress_tc %d", + tx_progress_ts, tx_progress_tc); + // call each logger here (pseudo code) logger = list; store = op_thread_data->store; while (logger && store) { BUG_ON(logger->LogFunc == NULL); - SCLogDebug("logger %p", logger); + SCLogDebug("logger %p, LogCondition %p, ts_log_progress %d " + "tc_log_progress %d", logger, logger->LogCondition, + logger->ts_log_progress, logger->tc_log_progress); if (logger->alproto == alproto) { SCLogDebug("alproto match, logging tx_id %ju", tx_id);