Class ServerLoggingConfiguration
- java.lang.Object
-
- jetbrains.buildServer.maintenance.ServerLoggingConfiguration
-
@ThreadSafe public class ServerLoggingConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOGGING_PRESETS_DIR
-
Constructor Summary
Constructors Constructor Description ServerLoggingConfiguration()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
changeCurrentPreset(String presetName)
static void
dataDirectoryIsResolved(File dataDirLocation)
static List<String>
getAvailableLoggingPresets()
Returns list of logging presets names.static String
getCurrentLoggingPreset()
static File
getLoggingPresetFile()
Public for testsstatic void
init()
static boolean
isLog4j1PresetSelected()
static void
persistCurrentPreset()
static void
shutdown()
-
-
-
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
-
-