Memory firewall Logs

Is there a way to save the logs to a text file?
Also are there other similar prgrams to detect and log buffer overflows?