template: convert GetTx to SCLogDebug

as it is especially verbose for fuzzing
pull/7349/head
Philippe Antoine 4 years ago committed by Victor Julien
parent cd42c33195
commit 94bcba4ea3

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

Loading…
Cancel
Save