When a log file is specified, send all errors to it.