Added configurable log file, enabling log to be pointed at /dev/null for people
who don't want the log output.