- Changed log_open() into two functions, logfile_open() and