Iptables: LOG target missing

Hey,
I get an error when I try to add a firewall rule:

# iptables -A OUTPUT -m limit --limit 5/minute --limit-burst 10 -j LOG
iptables v1.8.2 (legacy): Couldn't load target `LOG':No such file or directory

Device: Xperia 10 Plus Dual SIM
Sailfish OS 3.4

With Xperia X this worked fine.

Is there anything to do with this?
Thanks.

You can find out whether your device’s kernel supports such a target:

zcat /proc/config.gz | grep CONFIG_NETFILTER_XT_TARGET_LOG

Mine does (fp2-sibon).

$ zcat /proc/config.gz | grep CONFIG_NETFILTER_XT_TARGET_LOG
# CONFIG_NETFILTER_XT_TARGET_LOG is not set

So this was the cause.
NFLOG target would be supported, but it seems like Sailfish OS’s firewall does not allow to add rules with it and they are omitted.