code: def get_base_logfilename(logname):
      
      logdir = get_base_dir()
      fname = os.path.join(logdir, logname)
      GLOBAL_LOGFILES.append(fname)
      return fname
docs: Return filename for a logfile, filename will contain the actual path +
      filename
  
      :param logname: Name of the log including the extension, should describe
      what it contains (eg. "device_serial_port.log")