All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.boot.logging.logback.rolling-appender.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<included>
  <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <encoder>
      <pattern>${FILE_LOG_PATTERN}</pattern>
    </encoder>
    <file>${LOG_FILE}</file>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <fileNamePattern>${LOG_FILE}.%date{yyyy-MM-dd}</fileNamePattern>
      <maxHistory>${FILE_LOG_MAX_HISTORY:-30}</maxHistory>
      <totalSizeCap>${FILE_LOG_TOTAL_SIZE_CAP:-1GB}</totalSizeCap>
      <cleanHistoryOnStart>${FILE_LOG_CLEAN_HISTORY_ON_START:-true}</cleanHistoryOnStart>
    </rollingPolicy>
    <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
      <fileNamePattern>${LOG_FILE}.%date{yyyy-MM-dd}.%i</fileNamePattern>
    </rollingPolicy>
    <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
      <maxFileSize>${FILE_LOG_MAX_FILE_SIZE:-10MB}</maxFileSize>
    </triggeringPolicy>
  </appender>
</included>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy