Class ServerLoggingConfiguration
- java.lang.Object
-
- jetbrains.buildServer.maintenance.ServerLoggingConfiguration
-
@ThreadSafe public class ServerLoggingConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOGGING_PRESETS_DIR
-
Constructor Summary
Constructors Constructor Description ServerLoggingConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidchangeCurrentPreset(String presetName)static voiddataDirectoryIsResolved(File dataDirLocation)static List<String>getAvailableLoggingPresets()Returns list of logging presets names.static StringgetCurrentLoggingPreset()static FilegetLoggingPresetFile()Public for testsstatic voidinit()static booleanisLog4j1PresetSelected()static voidpersistCurrentPreset()static voidshutdown()
-
-
-
Field Detail
-
LOGGING_PRESETS_DIR
public static final String LOGGING_PRESETS_DIR
- See Also:
- Constant Field Values
-
-
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
-
-