code: def _logmessage_transform(cls, s, by=2):
          
          if len(s) >= by:
              return s[by:].strip('\n')
          return s.strip('\n')
docs: Preprocess/cleanup a bzr log message before parsing
  
          Args:
              s (str): log message string
              by (int): cutoff threshold for log message length
  
          Returns:
              str: preprocessed log message string