First create the log file