Add error logging.
Ignore log files.