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

e.dashboard.api-audit.3.7.30.source-code.logback.xml Maven / Gradle / Ivy

There is a newer version: 3.7.33
Show newest version
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>
 <appender name="ROLLING" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <!-- rollover daily -->
      <fileNamePattern>logs/api-audit-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
      <timeBasedFileNamingAndTriggeringPolicy
            class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
        <!-- or whenever the file size reaches 100MB -->
        <maxFileSize>20MB</maxFileSize>
      </timeBasedFileNamingAndTriggeringPolicy>
      <maxHistory>30</maxHistory>
    </rollingPolicy>
    <encoder>
       <pattern>%d [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
 </appender>

  <root level="INFO">
      <appender-ref ref="ROLLING" />
      <appender-ref ref="STDOUT" />
  </root>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy