def read_log(fname):
    """Read a log file.
    
    Args:
      fname (str):  Name of log file
      
    Returns:
      str. Command log
    
    """
   
    log_file = open(fname, 'r')
    log = log_file.read()
    
    return log