Class RequestLogWriter

    • Constructor Detail

      • RequestLogWriter

        public RequestLogWriter()
        Deprecated.
      • RequestLogWriter

        public RequestLogWriter​(String filename)
        Deprecated.
    • Method Detail

      • setFilename

        public void setFilename​(String filename)
        Deprecated.
        Set the output file name of the request log. The file name may be in the format expected by RolloverFileOutputStream.
        Parameters:
        filename - file name of the request log
      • getFileName

        @ManagedAttribute("filename")
        public String getFileName()
        Deprecated.
        Retrieve the output file name of the request log.
        Returns:
        file name of the request log
      • getDatedFilename

        @ManagedAttribute("dated filename")
        public String getDatedFilename()
        Deprecated.
        Retrieve the file name of the request log with the expanded date wildcard if the output is written to the disk using RolloverFileOutputStream.
        Returns:
        file name of the request log, or null if not applicable
      • setRetainDays

        public void setRetainDays​(int retainDays)
        Deprecated.
        Set the number of days before rotated log files are deleted.
        Parameters:
        retainDays - number of days to keep a log file
      • getRetainDays

        @ManagedAttribute("number of days to keep a log file")
        public int getRetainDays()
        Deprecated.
        Retrieve the number of days before rotated log files are deleted.
        Returns:
        number of days to keep a log file
      • setAppend

        public void setAppend​(boolean append)
        Deprecated.
        Set append to log flag.
        Parameters:
        append - true - request log file will be appended after restart, false - request log file will be overwritten after restart
      • isAppend

        @ManagedAttribute("if request log file will be appended after restart")
        public boolean isAppend()
        Deprecated.
        Retrieve append to log flag.
        Returns:
        value of the flag
      • getFilenameDateFormat

        @ManagedAttribute("log file name date format")
        public String getFilenameDateFormat()
        Deprecated.
        Retrieve the file name date format string.
        Returns:
        the log File Date Format
      • setTimeZone

        public void setTimeZone​(String timeZone)
        Deprecated.