code: def send_cons3rt_agent_logs(self):
          
          log = logging.getLogger(self.cls_logger + '.send_cons3rt_agent_logs')
  
          if self.cons3rt_agent_log_dir is None:
              log.warn('There is not CONS3RT agent log directory on this system')
              return
  
          log.debug('Searching for log files in directory: {d}'.format(d=self.cons3rt_agent_log_dir))
          for item in os.listdir(self.cons3rt_agent_log_dir):
              item_path = os.path.join(self.cons3rt_agent_log_dir, item)
              if os.path.isfile(item_path):
                  log.info('Sending email with cons3rt agent log file: {f}'.format(f=item_path))
                  try:
                      self.send_text_file(text_file=item_path)
                  except (TypeError, OSError, AssetMailerError):
                      _, ex, trace = sys.exc_info()
                      msg = '{n}: There was a problem sending CONS3RT agent log file: {f}\n{e}'.format(
                          n=ex.__class__.__name__, f=item_path, e=str(ex))
                      raise AssetMailerError, msg, trace
                  else:
                      log.info('Successfully sent email with file: {f}'.format(f=item_path))
docs: Send the cons3rt agent log file
  
          :return: