]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
template: convert GetTx to SCLogDebug
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 14 Apr 2022 11:54:53 +0000 (13:54 +0200)
committerVictor Julien <vjulien@oisf.net>
Sat, 30 Apr 2022 06:25:48 +0000 (08:25 +0200)
as it is especially verbose for fuzzing

src/app-layer-template.c

index 68fafeb2d7a299f450c7c13942ecbef26abcddfb..c28706f156a900716178c5f0e7d6470ae3297c6a 100644 (file)
@@ -390,17 +390,16 @@ static void *TemplateGetTx(void *statev, uint64_t tx_id)
     TemplateState *state = statev;
     TemplateTransaction *tx;
 
-    SCLogNotice("Requested tx ID %"PRIu64".", tx_id);
+    SCLogDebug("Requested tx ID %" PRIu64 ".", tx_id);
 
     TAILQ_FOREACH(tx, &state->tx_list, next) {
         if (tx->tx_id == tx_id) {
-            SCLogNotice("Transaction %"PRIu64" found, returning tx object %p.",
-                tx_id, tx);
+            SCLogDebug("Transaction %" PRIu64 " found, returning tx object %p.", tx_id, tx);
             return tx;
         }
     }
 
-    SCLogNotice("Transaction ID %"PRIu64" not found.", tx_id);
+    SCLogDebug("Transaction ID %" PRIu64 " not found.", tx_id);
     return NULL;
 }