Do you want to log every packet or simply alert on signature matches? Capturing every packet on your local network could generate a rather large file.

A command you can use to get started...