I have an Ubuntu server where I am blocking some IPs with ufw. I enabled logging, but I don't know where to find the logs. Where might the logs be or why might ufw not be logging?
You can also find UFW's logs in the kernel buffer.
sudo dmesg | grep '\[UFW'