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 Classes
    Modifier and Type
    Class
    Description
    static class 
    LoggingSystemFactory that returns Logback2LoggingSystem if 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_COMPARATOR

    Fields inherited from class org.springframework.boot.logging.LoggingSystem

    NONE, ROOT_LOGGER_NAME, SYSTEM_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    org.springframework.boot.logging.LoggerConfiguration
     
    List<org.springframework.boot.logging.LoggerConfiguration>
     
     
    protected String[]
     
    Set<org.springframework.boot.logging.LogLevel>
     
    org.springframework.boot.logging.LoggingSystemProperties
    getSystemProperties(org.springframework.core.env.ConfigurableEnvironment environment)
     
    void
    initialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String configLocation, org.springframework.boot.logging.LogFile logFile)
     
    protected void
    loadConfiguration(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String location, org.springframework.boot.logging.LogFile logFile)
     
    protected void
    loadDefaults(org.springframework.boot.logging.LoggingInitializationContext initializationContext, org.springframework.boot.logging.LogFile logFile)
     
    protected void
    reinitialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext)
     
    void
    setLogLevel(String loggerName, org.springframework.boot.logging.LogLevel level)
     

    Methods inherited from class org.springframework.boot.logging.Slf4JLoggingSystem

    isBridgeHandlerAvailable, isBridgeJulIntoSlf4j

    Methods inherited from class org.springframework.boot.logging.AbstractLoggingSystem

    applySystemProperties, getClassLoader, getPackagedConfigFile, getSelfInitializationConfig, getSpringConfigLocations, getSpringInitializationConfig

    Methods inherited from class org.springframework.boot.logging.LoggingSystem

    get

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Logback2LoggingSystem

      public Logback2LoggingSystem(ClassLoader classLoader)
  • Method Details

    • getSystemProperties

      public org.springframework.boot.logging.LoggingSystemProperties getSystemProperties(org.springframework.core.env.ConfigurableEnvironment environment)
      Overrides:
      getSystemProperties in class org.springframework.boot.logging.LoggingSystem
    • getStandardConfigLocations

      protected String[] getStandardConfigLocations()
      Specified by:
      getStandardConfigLocations in class org.springframework.boot.logging.AbstractLoggingSystem
    • beforeInitialize

      public void beforeInitialize()
      Overrides:
      beforeInitialize in class org.springframework.boot.logging.Slf4JLoggingSystem
    • initialize

      public void initialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String configLocation, org.springframework.boot.logging.LogFile logFile)
      Overrides:
      initialize in class org.springframework.boot.logging.AbstractLoggingSystem
    • loadDefaults

      protected void loadDefaults(org.springframework.boot.logging.LoggingInitializationContext initializationContext, org.springframework.boot.logging.LogFile logFile)
      Specified by:
      loadDefaults in class org.springframework.boot.logging.AbstractLoggingSystem
    • loadConfiguration

      protected void loadConfiguration(org.springframework.boot.logging.LoggingInitializationContext initializationContext, String location, org.springframework.boot.logging.LogFile logFile)
      Overrides:
      loadConfiguration in class org.springframework.boot.logging.Slf4JLoggingSystem
    • cleanUp

      public void cleanUp()
      Overrides:
      cleanUp in class org.springframework.boot.logging.Slf4JLoggingSystem
    • reinitialize

      protected void reinitialize(org.springframework.boot.logging.LoggingInitializationContext initializationContext)
      Overrides:
      reinitialize in class org.springframework.boot.logging.AbstractLoggingSystem
    • getLoggerConfigurations

      public List<org.springframework.boot.logging.LoggerConfiguration> getLoggerConfigurations()
      Overrides:
      getLoggerConfigurations in class org.springframework.boot.logging.LoggingSystem
    • getLoggerConfiguration

      public org.springframework.boot.logging.LoggerConfiguration getLoggerConfiguration(String loggerName)
      Overrides:
      getLoggerConfiguration in class org.springframework.boot.logging.LoggingSystem
    • getSupportedLogLevels

      public Set<org.springframework.boot.logging.LogLevel> getSupportedLogLevels()
      Overrides:
      getSupportedLogLevels in class org.springframework.boot.logging.LoggingSystem
    • setLogLevel

      public void setLogLevel(String loggerName, org.springframework.boot.logging.LogLevel level)
      Overrides:
      setLogLevel in class org.springframework.boot.logging.LoggingSystem
    • getShutdownHandler

      public Runnable getShutdownHandler()
      Overrides:
      getShutdownHandler in class org.springframework.boot.logging.LoggingSystem