Added configurable log file.