Class ServerLoggingConfiguration


  • @ThreadSafe
    public class ServerLoggingConfiguration
    extends Object
    • Constructor Detail

      • ServerLoggingConfiguration

        public ServerLoggingConfiguration()
    • Method Detail

      • init

        public static void init()
      • shutdown

        public static void shutdown()
      • dataDirectoryIsResolved

        public static void dataDirectoryIsResolved​(@NotNull
                                                   File dataDirLocation)
      • getCurrentLoggingPreset

        @NotNull
        public static String getCurrentLoggingPreset()
      • getAvailableLoggingPresets

        @NotNull
        public static List<String> getAvailableLoggingPresets()
        Returns list of logging presets names.
      • changeCurrentPreset

        public static void changeCurrentPreset​(@NotNull
                                               String presetName)
      • persistCurrentPreset

        public static void persistCurrentPreset()
      • isLog4j1PresetSelected

        public static boolean isLog4j1PresetSelected()
      • getLoggingPresetFile

        @NotNull
        public static File getLoggingPresetFile()
        Public for tests