Class CmsLogFileOptionProvider


  • public final class CmsLogFileOptionProvider
    extends java.lang.Object
    Provides log files which should be available as options in the OpenCms log file viewer.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ENV_LOGFILES
      Environment variable used to configure additional log files.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> getAdditionalLogDirectories()
      Gets the additional configured log folders.
      static java.util.TreeSet<java.io.File> getLogFiles()
      Gets the log file options.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAdditionalLogDirectories

        public static java.util.List<java.lang.String> getAdditionalLogDirectories()
        Gets the additional configured log folders.

        Returns:
        the additional configured log folders
      • getLogFiles

        public static java.util.TreeSet<java.io.File> getLogFiles()
        Gets the log file options.

        Returns:
        the log file options