From: Philippe Antoine Date: Thu, 14 Apr 2022 11:54:53 +0000 (+0200) Subject: template: convert GetTx to SCLogDebug X-Git-Tag: suricata-7.0.0-beta1~640 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94bcba4ea38245623c18dfceff0fd5809b747050;p=thirdparty%2Fsuricata.git template: convert GetTx to SCLogDebug as it is especially verbose for fuzzing --- diff --git a/src/app-layer-template.c b/src/app-layer-template.c index 68fafeb2d7..c28706f156 100644 --- a/src/app-layer-template.c +++ b/src/app-layer-template.c @@ -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; }