logback.xml
<?xml version="1.0" encoding="UTF-8"?>
< configuration>
< appender name = " STDOUT" class = " ch.qos.logback.core.ConsoleAppender" >
< encoder>
< pattern> %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</ pattern>
</ encoder>
</ appender>
< appender name = " ROLLING_FILE" class = " ch.qos.logback.core.rolling.RollingFileAppender" >
< file> G:\temptemptemp\gatewaylog\logfile.log</ file>
< rollingPolicy class = " ch.qos.logback.core.rolling.TimeBasedRollingPolicy" >
< fileNamePattern> G:\temptemptemp\gatewaylog\logfile.%d{yyyy-MM-dd}.log
</ fileNamePattern>
< maxHistory> 30</ maxHistory>
</ rollingPolicy>
< encoder>
< pattern> %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</ pattern>
</ encoder>
</ appender>
< appender name = " async" class = " ch.qos.logback.classic.AsyncAppender" >
< appender-ref ref = " ROLLING_FILE" />
</ appender>
< logger name = " reactor.netty.http.server.AccessLog" level = " INFO" additivity = " false" >
< appender-ref ref = " async" />
< appender-ref ref = " STDOUT" />
</ logger>
< root level = " info" >
< appender-ref ref = " STDOUT" />
< appender-ref ref = " ROLLING_FILE" />
</ root>
</ configuration>