diff --git a/src/output-tx.c b/src/output-tx.c index e9b7643bf6..0293775f69 100644 --- a/src/output-tx.c +++ b/src/output-tx.c @@ -103,6 +103,8 @@ static TmEcode OutputTxLog(ThreadVars *tv, Packet *p, void *thread_data, PacketQ if (AppLayerParserProtocolIsTxAware(p->proto, alproto) == 0) goto end; + if (AppLayerParserProtocolHasLogger(p->proto, alproto) == 0) + goto end; void *alstate = f->alstate;//AppLayerGetProtoStateFromPacket((const Packet *)p); if (alstate == NULL) {