That is a great idea. I thought this would be even more useful to have as a dedicated post, just so that it's more easy to find and with more details:
I almost forgot, make sure you turn off the logging activity!
sudo ufw logging off
Or at least lower it to low
. Logging everything can be useful for debugging and troubleshooting, but can eat your drive before you know it!