code: @SuppressWarnings("resource")
      public String getLogText() {
  
          try {
              String logFilePath = getLogFilePath();
              byte[] logData = CmsFileUtil.readFully(new FileInputStream(logFilePath));
              return new String(logData, "UTF-8");
          } catch (IOException e) {
              return "Error reading log file: " + getLogFilePath();
          }
      }
docs: Gets the log text.<p>
  
  @return the log text