org.springframework.boot.logging.logback

Class LogbackLoggingSystemProperties

    • Field Detail

      • ROLLINGPOLICY_FILE_NAME_PATTERN

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

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

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

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

        public static final java.lang.String ROLLINGPOLICY_MAX_HISTORY
        The name of the System property that contains the file log max history.
        See Also:
        Constant Field Values
    • Constructor Detail

      • LogbackLoggingSystemProperties

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

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