Class LogReaderUtil


  • public class LogReaderUtil
    extends Object
    • Constructor Detail

      • LogReaderUtil

        public LogReaderUtil()
    • Method Detail

      • readLog

        public static LogResponse readLog​(String type,
                                          LogRequest request)
                                   throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • readSessionLog

        public static LogResponse readSessionLog​(String appUrl,
                                                 String logDir,
                                                 LogRequest request)
                                          throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • readSessionLogInstanceIds

        public static List<String> readSessionLogInstanceIds​(String logDir,
                                                             String appUrl)
                                                      throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • getSessionLogDir

        public static String getSessionLogDir​(org.webswing.server.common.util.VariableSubstitutor subs,
                                              org.webswing.server.common.model.SwingConfig config)
      • normalizeForFileName

        public static String normalizeForFileName​(String text)
      • getZippedLog

        public static File getZippedLog​(String type)
                                 throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • getZippedSessionLog

        public static File getZippedSessionLog​(String logDir,
                                               String appUrl)
                                        throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • getZippedLogFile

        public static File getZippedLogFile​(String type)
                                     throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException
      • getZippedSessionLogFile

        public static File getZippedSessionLogFile​(String logDir,
                                                   String appUrl)
                                            throws org.webswing.server.model.exception.WsException
        Throws:
        org.webswing.server.model.exception.WsException