code: def do_set_log_file(self, args):
          
          params = args.split()
          try:
              filename = params[0]
              logging.basicConfig(filename=filename)
          except IndexError:
              self.do_help('set_log_file')
docs: Set the log file.
  
          Usage:
              set_log_file filename
          Parameters:
              filename: log file name to write to
  
          THIS CAN ONLY BE CALLED ONCE AND MUST BE CALLED
          BEFORE ANY LOGGING STARTS.