adding a log file.