Package com.netcracker.profiler.servlet
Class Logback2LoggingSystem
java.lang.Object
org.springframework.boot.logging.LoggingSystem
org.springframework.boot.logging.AbstractLoggingSystem
org.springframework.boot.logging.Slf4JLoggingSystem
com.netcracker.profiler.servlet.Logback2LoggingSystem
public class Logback2LoggingSystem
extends org.springframework.boot.logging.Slf4JLoggingSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLoggingSystemFactorythat returnsLogback2LoggingSystemif possible.Nested classes/interfaces inherited from class org.springframework.boot.logging.AbstractLoggingSystem
org.springframework.boot.logging.AbstractLoggingSystem.LogLevels<T> -
Field Summary
Fields inherited from class org.springframework.boot.logging.AbstractLoggingSystem
CONFIGURATION_COMPARATORFields inherited from class org.springframework.boot.logging.LoggingSystem
NONE, ROOT_LOGGER_NAME, SYSTEM_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcleanUp()org.springframework.boot.logging.LoggerConfigurationgetLoggerConfiguration(String loggerName) List<org.springframework.boot.logging.LoggerConfiguration> protected String[]Set<org.springframework.boot.logging.LogLevel> org.springframework.boot.logging.LoggingSystemPropertiesgetSystemProperties(org.springframework.core.env.ConfigurableEnvironment environment) voidinitialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String configLocation, org.springframework.boot.logging.LogFile logFile) protected voidloadConfiguration(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String location, org.springframework.boot.logging.LogFile logFile) protected voidloadDefaults(org.springframework.boot.logging.LoggingInitializationContext initializationContext, org.springframework.boot.logging.LogFile logFile) protected voidreinitialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext) voidsetLogLevel(String loggerName, org.springframework.boot.logging.LogLevel level) Methods inherited from class org.springframework.boot.logging.Slf4JLoggingSystem
isBridgeHandlerAvailable, isBridgeJulIntoSlf4jMethods inherited from class org.springframework.boot.logging.AbstractLoggingSystem
applySystemProperties, getClassLoader, getPackagedConfigFile, getSelfInitializationConfig, getSpringConfigLocations, getSpringInitializationConfigMethods inherited from class org.springframework.boot.logging.LoggingSystem
get
-
Constructor Details
-
Logback2LoggingSystem
-
-
Method Details
-
getSystemProperties
public org.springframework.boot.logging.LoggingSystemProperties getSystemProperties(org.springframework.core.env.ConfigurableEnvironment environment) - Overrides:
getSystemPropertiesin classorg.springframework.boot.logging.LoggingSystem
-
getStandardConfigLocations
- Specified by:
getStandardConfigLocationsin classorg.springframework.boot.logging.AbstractLoggingSystem
-
beforeInitialize
public void beforeInitialize()- Overrides:
beforeInitializein classorg.springframework.boot.logging.Slf4JLoggingSystem
-
initialize
public void initialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String configLocation, org.springframework.boot.logging.LogFile logFile) - Overrides:
initializein classorg.springframework.boot.logging.AbstractLoggingSystem
-
loadDefaults
protected void loadDefaults(org.springframework.boot.logging.LoggingInitializationContext initializationContext, org.springframework.boot.logging.LogFile logFile) - Specified by:
loadDefaultsin classorg.springframework.boot.logging.AbstractLoggingSystem
-
loadConfiguration
protected void loadConfiguration(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String location, org.springframework.boot.logging.LogFile logFile) - Overrides:
loadConfigurationin classorg.springframework.boot.logging.Slf4JLoggingSystem
-
cleanUp
public void cleanUp()- Overrides:
cleanUpin classorg.springframework.boot.logging.Slf4JLoggingSystem
-
reinitialize
protected void reinitialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext) - Overrides:
reinitializein classorg.springframework.boot.logging.AbstractLoggingSystem
-
getLoggerConfigurations
- Overrides:
getLoggerConfigurationsin classorg.springframework.boot.logging.LoggingSystem
-
getLoggerConfiguration
public org.springframework.boot.logging.LoggerConfiguration getLoggerConfiguration(String loggerName) - Overrides:
getLoggerConfigurationin classorg.springframework.boot.logging.LoggingSystem
-
getSupportedLogLevels
- Overrides:
getSupportedLogLevelsin classorg.springframework.boot.logging.LoggingSystem
-
setLogLevel
- Overrides:
setLogLevelin classorg.springframework.boot.logging.LoggingSystem
-
getShutdownHandler
- Overrides:
getShutdownHandlerin classorg.springframework.boot.logging.LoggingSystem
-