other去除腾讯云日志配置
This commit is contained in:
parent
3b37929c03
commit
22430db295
@ -50,66 +50,6 @@
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="sls-develop" class="com.tencentcloudapi.cls.LoghubAppender">
|
||||
<!--必选项-->
|
||||
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
||||
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
|
||||
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
|
||||
<topicId>180afe72-b0fe-4502-bbc2-55a8a5193e78</topicId>
|
||||
|
||||
<!-- 可选项 详见 '参数说明'-->
|
||||
<totalSizeInBytes>104857600</totalSizeInBytes>
|
||||
<maxBlockMs>60000</maxBlockMs>
|
||||
<ioThreadCount>8</ioThreadCount>
|
||||
<batchSizeThresholdInBytes>524288</batchSizeThresholdInBytes>
|
||||
<batchCountThreshold>4096</batchCountThreshold>
|
||||
<lingerMs>2000</lingerMs>
|
||||
<retries>10</retries>
|
||||
<baseRetryBackoffMs>100</baseRetryBackoffMs>
|
||||
<maxRetryBackoffMs>100</maxRetryBackoffMs>
|
||||
|
||||
<!-- 可选项 通过配置 encoder 的 pattern 自定义 log 的格式 -->
|
||||
<encoder>
|
||||
<pattern>%d %-5level [%thread] %logger{0}</pattern>
|
||||
</encoder>
|
||||
|
||||
<!-- 可选项 设置 time 字段呈现的格式 -->
|
||||
<timeFormat>yyyy-MM-dd'T'HH:mmZ</timeFormat>
|
||||
<!-- 可选项 设置 time 字段呈现的时区 -->
|
||||
<timeZone>Asia/Shanghai</timeZone>
|
||||
<customFields>{"app":"${spring.application.name}"}</customFields>
|
||||
</appender>
|
||||
|
||||
<appender name="sls-prod" class="com.tencentcloudapi.cls.LoghubAppender">
|
||||
<!--必选项-->
|
||||
<endpoint>ap-singapore.cls.tencentcs.com</endpoint>
|
||||
<accessKeyId>AKIDSnx10rZK4d6NTRGtIYbPQFuLcp3CB0nR</accessKeyId>
|
||||
<accessKeySecret>c5oT2Y8nNnxzongUDlKkCVfjbLvKUXRC</accessKeySecret>
|
||||
<topicId>4d467d31-9165-42c6-b80a-2ea23ae7777e</topicId>
|
||||
|
||||
<!-- 可选项 详见 '参数说明'-->
|
||||
<totalSizeInBytes>104857600</totalSizeInBytes>
|
||||
<maxBlockMs>60000</maxBlockMs>
|
||||
<ioThreadCount>8</ioThreadCount>
|
||||
<batchSizeThresholdInBytes>524288</batchSizeThresholdInBytes>
|
||||
<batchCountThreshold>4096</batchCountThreshold>
|
||||
<lingerMs>2000</lingerMs>
|
||||
<retries>10</retries>
|
||||
<baseRetryBackoffMs>100</baseRetryBackoffMs>
|
||||
<maxRetryBackoffMs>100</maxRetryBackoffMs>
|
||||
|
||||
<!-- 可选项 通过配置 encoder 的 pattern 自定义 log 的格式 -->
|
||||
<encoder>
|
||||
<pattern>%d %-5level [%thread] %logger{0}</pattern>
|
||||
</encoder>
|
||||
|
||||
<!-- 可选项 设置 time 字段呈现的格式 -->
|
||||
<timeFormat>yyyy-MM-dd'T'HH:mmZ</timeFormat>
|
||||
<!-- 可选项 设置 time 字段呈现的时区 -->
|
||||
<timeZone>Asia/Shanghai</timeZone>
|
||||
<customFields>{"app":"${spring.application.name}"}</customFields>
|
||||
</appender>
|
||||
|
||||
<!-- Level: FATAL 0 ERROR 3 WARN 4 INFO 6 DEBUG 7 -->
|
||||
<springProfile name="local">
|
||||
<root level="INFO">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user