Update log.cpp

修改m_file.close和filename = arg.get_option_value("-log_filename");