93246b3ded
# Conflicts: # console/src/main/resources/static/src/pages/ConfigurationManagement/ConfigEditor/ConfigEditor.js # console/src/main/resources/static/src/pages/ConfigurationManagement/ConfigurationManagement/ConfigurationManagement.js # naming/src/main/java/com/alibaba/nacos/naming/misc/NetUtils.java # naming/src/main/java/com/alibaba/nacos/naming/web/ApiCommands.java
589 lines
24 KiB
XML
589 lines
24 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<configuration scan="true" scanPeriod="10 seconds">
|
|
|
|
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>utf8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-server"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-server.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-server.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="async-naming-server" class="ch.qos.logback.classic.AsyncAppender">
|
|
<discardingThreshold>0</discardingThreshold>
|
|
<queueSize>1024</queueSize>
|
|
<neverBlock>true</neverBlock>
|
|
<appender-ref ref="naming-server"/>
|
|
</appender>
|
|
|
|
<appender name="naming-raft"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-raft.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-raft.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="async-naming-raft" class="ch.qos.logback.classic.AsyncAppender">
|
|
<discardingThreshold>0</discardingThreshold>
|
|
<queueSize>1024</queueSize>
|
|
<neverBlock>true</neverBlock>
|
|
<appender-ref ref="naming-raft"/>
|
|
</appender>
|
|
|
|
<appender name="naming-event"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-event.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-event.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="async-naming-event" class="ch.qos.logback.classic.AsyncAppender">
|
|
<discardingThreshold>0</discardingThreshold>
|
|
<queueSize>1024</queueSize>
|
|
<neverBlock>true</neverBlock>
|
|
<appender-ref ref="naming-event"/>
|
|
</appender>
|
|
|
|
<appender name="naming-push"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-push.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-push.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
<appender name="naming-rt"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-rt.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-rt.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%msg%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-performance"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-performance.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-performance.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>50MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>512MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-router"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-router.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-router.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-cache"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-cache.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-cache.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-device"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-device.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-device.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-tag"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-tag.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-tag.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-tenant"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-tenant.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-tenant.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="naming-debug"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/naming-debug.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/naming-debug.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
|
|
<!--config module logback config-->
|
|
<appender name="dumpFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-dump.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-dump.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
<appender name="pullFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-pull.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-pull.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
<appender name="fatalFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-fatal.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-fatal.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
<appender name="memoryFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-memory.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-memory.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
<appender name="pullCheckFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-pull-check.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-pull-check.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%msg%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="aclLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-acl.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-acl.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>50MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>512MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="clientLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-client-request.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-client-request.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="sdkLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-sdk-request.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-sdk-request.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="traceLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-trace.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-trace.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>2GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>7GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date|%msg%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="notifyLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-notify.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-notify.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>1GB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>3GB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="appCollectorLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-app.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-app.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>20MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>128MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="startLog"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/config-server.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/config-server.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>50MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>512MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>GBK</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<appender name="rootFile"
|
|
class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
<file>${nacos.home}/logs/nacos.log</file>
|
|
<append>true</append>
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
|
<fileNamePattern>${nacos.home}/logs/nacos.log.%d{yyyy-MM-dd}.%i</fileNamePattern>
|
|
<maxFileSize>50MB</maxFileSize>
|
|
<MaxHistory>15</MaxHistory>
|
|
<totalSizeCap>512MB</totalSizeCap>
|
|
<cleanHistoryOnStart>true</cleanHistoryOnStart>
|
|
</rollingPolicy>
|
|
<encoder>
|
|
<Pattern>%date %level %msg%n%n</Pattern>
|
|
<charset>UTF-8</charset>
|
|
</encoder>
|
|
</appender>
|
|
|
|
<logger name="com.alibaba.nacos.naming.main" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="async-naming-server"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.raft" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="async-naming-raft"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.event" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="async-naming-event"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.push" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-push"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.rt" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-rt"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.performance" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-performance"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.router" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-router"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.cache" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-cache"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.tenant" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-tenant"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.naming.debug" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="naming-debug"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.dumpLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="dumpFile"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.config.pullLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="pullFile"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.config.pullCheckLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="pullCheckFile"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.config.fatal" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="fatalFile"/>
|
|
</logger>
|
|
<logger name="com.alibaba.nacos.config.monitorLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="memoryFile"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.aclLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="aclLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.clientLog" additivity="false">
|
|
<level value="info"/>
|
|
<appender-ref ref="clientLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.sdkLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="sdkLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.notifyLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="notifyLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.traceLog" additivity="false">
|
|
<level value="info"/>
|
|
<appender-ref ref="traceLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.appCollectorLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="appCollectorLog"/>
|
|
</logger>
|
|
|
|
<logger name="com.alibaba.nacos.config.startLog" additivity="false">
|
|
<level value="INFO"/>
|
|
<appender-ref ref="startLog"/>
|
|
</logger>
|
|
|
|
<springProfile name="standalone">
|
|
<logger name="org.springframework">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="INFO"/>
|
|
</logger>
|
|
|
|
<logger name="org.apache.catalina.startup.DigesterFactory">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="INFO"/>
|
|
</logger>
|
|
|
|
<logger name="org.apache.catalina.util.LifecycleBase">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="ERROR"/>
|
|
</logger>
|
|
|
|
<logger name="org.apache.coyote.http11.Http11NioProtocol">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="WARN"/>
|
|
</logger>
|
|
|
|
<logger name="org.apache.tomcat.util.net.NioSelectorPool">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="WARN"/>
|
|
</logger>
|
|
</springProfile>
|
|
|
|
<logger name="com.alibaba.nacos.core.listener.StartingSpringApplicationRunListener">
|
|
<appender-ref ref="CONSOLE"/>
|
|
<level value="INFO"/>
|
|
</logger>
|
|
|
|
<root>
|
|
<level value="INFO"/>
|
|
<appender-ref ref="rootFile"/>
|
|
</root>
|
|
</configuration>
|
|
|