]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output lua: improve debugging output 2174/head
authorVictor Julien <victor@inliniac.net>
Tue, 12 Jul 2016 15:07:25 +0000 (17:07 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 12 Jul 2016 15:53:04 +0000 (17:53 +0200)
src/output-tx.c

index 093e2e593180f7464695b3d74885e3c6e38b13cd..311cc70f43fc8d8deaafe9fb29f17a0d6c2b7395 100644 (file)
@@ -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);