def default_logfile_names(script, suffix):
  """Method to return the names for output and error log files."""
  suffix = script.split('.')[0] if suffix is None else suffix
  output_logfile = '{}_out.txt'.format(suffix)
  error_logfile = '{}_err.txt'.format(suffix)
  return output_logfile, error_logfile