mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-08-20 07:49:55 +00:00
rejection handling
This commit is contained in:
27
src/main/resources/logback-http.xml
Normal file
27
src/main/resources/logback-http.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<included>
|
||||
|
||||
<appender name="http-base" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<encoder>
|
||||
<pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %marker %msg%n</pattern>
|
||||
</encoder>
|
||||
|
||||
<file>http.log</file>
|
||||
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||
<minIndex>1</minIndex>
|
||||
<maxIndex>20</maxIndex>
|
||||
<fileNamePattern>http.log.%i.gz</fileNamePattern>
|
||||
</rollingPolicy>
|
||||
|
||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||
<maxFileSize>100MB</maxFileSize>
|
||||
</triggeringPolicy>
|
||||
</appender>
|
||||
|
||||
<appender name="http" class="ch.qos.logback.classic.AsyncAppender">
|
||||
<appender-ref ref="http-base"/>
|
||||
<queueSize>50000</queueSize>
|
||||
<neverBlock>true</neverBlock>
|
||||
</appender>
|
||||
|
||||
</included>
|
Reference in New Issue
Block a user