The default log level is low, which records blocked packets that match the default policy. Other levels show more or less.
sudo ufw logging medium
sudo tail -f /var/log/ufw.log
The levels are off, low, medium, high and full. Medium adds allowed packets that do not match a rule, invalid packets and new connections. High adds every packet with rate limiting, and full removes the rate limiting, so the file grows quickly. Use them for a short test and then go back. On Ubuntu the messages end up in /var/log/ufw.log and in the kernel log, if rsyslog is set up that way.
Further reading: ufw manual page