]> git.ipfire.org Git - thirdparty/suricata.git/commit
pgsql/logger: don't log empty transactions
authorJuliana Fajardini <jufajardini@gmail.com>
Mon, 17 Feb 2025 19:50:38 +0000 (16:50 -0300)
committerVictor Julien <victor@inliniac.net>
Wed, 19 Feb 2025 08:21:37 +0000 (09:21 +0100)
commita4ce9cfe1526b8d6f4efed5de7e2320dbbb9dd32
tree19048020ed841522aabd6d4435cb34cbe8efb7ce
parentd676d711ee134bf6b88cada82dbab812947d26eb
pgsql/logger: don't log empty transactions

This may happen in some situations if the app-layer parser only sees
unknown messages and sets an event: there will be an empty transaction,
but nothing to log.

Related to
Task #5566
rust/src/pgsql/logger.rs