Used proper exceptions for log_file::log_file()