@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();
        }
    }
@ 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 ( ) ; } }
Gets the log text.<p>

@return the log text