Class LogbackLoggingSystemProperties

java.lang.Object
org.springframework.boot.logging.LoggingSystemProperties
org.springframework.boot.logging.logback.LogbackLoggingSystemProperties

public class LogbackLoggingSystemProperties extends LoggingSystemProperties
Since:
2.4.0
  • Field Details

    • ROLLINGPOLICY_FILE_NAME_PATTERN

      public static final String ROLLINGPOLICY_FILE_NAME_PATTERN
      The name of the System property that contains the rolled-over log file name pattern.
      See Also:
    • ROLLINGPOLICY_CLEAN_HISTORY_ON_START

      public static final String ROLLINGPOLICY_CLEAN_HISTORY_ON_START
      The name of the System property that contains the clean history on start flag.
      See Also:
    • ROLLINGPOLICY_MAX_FILE_SIZE

      public static final String ROLLINGPOLICY_MAX_FILE_SIZE
      The name of the System property that contains the file log max size.
      See Also:
    • ROLLINGPOLICY_TOTAL_SIZE_CAP

      public static final String ROLLINGPOLICY_TOTAL_SIZE_CAP
      The name of the System property that contains the file total size cap.
      See Also:
    • ROLLINGPOLICY_MAX_HISTORY

      public static final String ROLLINGPOLICY_MAX_HISTORY
      The name of the System property that contains the file log max history.
      See Also:
  • Constructor Details

    • LogbackLoggingSystemProperties

      public LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment)
    • LogbackLoggingSystemProperties

      public LogbackLoggingSystemProperties(org.springframework.core.env.Environment environment, BiConsumer<String,String> setter)
      Create a new LogbackLoggingSystemProperties instance.
      Parameters:
      environment - the source environment
      setter - setter used to apply the property
      Since:
      2.4.3
  • Method Details