Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小五666\n哈哈
Rocketmq
提交
49261873
R
Rocketmq
项目概览
小五666\n哈哈
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
49261873
编写于
11月 27, 2017
作者:
S
shutian.lzh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Compress on rolling
上级
cba30897
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
33 addition
and
66 deletion
+33
-66
distribution/conf/logback_broker.xml
distribution/conf/logback_broker.xml
+24
-48
distribution/conf/logback_filtersrv.xml
distribution/conf/logback_filtersrv.xml
+4
-8
distribution/conf/logback_namesrv.xml
distribution/conf/logback_namesrv.xml
+2
-4
distribution/conf/logback_tools.xml
distribution/conf/logback_tools.xml
+3
-6
未找到文件。
distribution/conf/logback_broker.xml
浏览文件 @
49261873
...
@@ -22,13 +22,11 @@
...
@@ -22,13 +22,11 @@
<file>
${user.home}/logs/rocketmqlogs/broker_default.log
</file>
<file>
${user.home}/logs/rocketmqlogs/broker_default.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/broker_default.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/broker_default.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -42,13 +40,11 @@
...
@@ -42,13 +40,11 @@
<file>
${user.home}/logs/rocketmqlogs/broker.log
</file>
<file>
${user.home}/logs/rocketmqlogs/broker.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/broker.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/broker.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
20
</maxIndex>
<maxIndex>
20
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
128MB
</maxFileSize>
<maxFileSize>
128MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -65,13 +61,11 @@
...
@@ -65,13 +61,11 @@
<file>
${user.home}/logs/rocketmqlogs/protection.log
</file>
<file>
${user.home}/logs/rocketmqlogs/protection.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/protection.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/protection.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -88,13 +82,11 @@
...
@@ -88,13 +82,11 @@
<file>
${user.home}/logs/rocketmqlogs/watermark.log
</file>
<file>
${user.home}/logs/rocketmqlogs/watermark.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/watermark.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/watermark.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -111,13 +103,11 @@
...
@@ -111,13 +103,11 @@
<file>
${user.home}/logs/rocketmqlogs/store.log
</file>
<file>
${user.home}/logs/rocketmqlogs/store.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/store.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/store.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
128MB
</maxFileSize>
<maxFileSize>
128MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -134,13 +124,11 @@
...
@@ -134,13 +124,11 @@
<file>
${user.home}/logs/rocketmqlogs/remoting.log
</file>
<file>
${user.home}/logs/rocketmqlogs/remoting.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/remoting.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/remoting.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -157,13 +145,11 @@
...
@@ -157,13 +145,11 @@
<file>
${user.home}/logs/rocketmqlogs/storeerror.log
</file>
<file>
${user.home}/logs/rocketmqlogs/storeerror.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/storeerror.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/storeerror.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -181,13 +167,11 @@
...
@@ -181,13 +167,11 @@
<file>
${user.home}/logs/rocketmqlogs/transaction.log
</file>
<file>
${user.home}/logs/rocketmqlogs/transaction.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/transaction.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/transaction.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -204,13 +188,11 @@
...
@@ -204,13 +188,11 @@
<file>
${user.home}/logs/rocketmqlogs/lock.log
</file>
<file>
${user.home}/logs/rocketmqlogs/lock.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/lock.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/lock.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -227,13 +209,11 @@
...
@@ -227,13 +209,11 @@
<file>
${user.home}/logs/rocketmqlogs/filter.log
</file>
<file>
${user.home}/logs/rocketmqlogs/filter.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filter.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filter.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -250,13 +230,11 @@
...
@@ -250,13 +230,11 @@
<file>
${user.home}/logs/rocketmqlogs/stats.log
</file>
<file>
${user.home}/logs/rocketmqlogs/stats.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/stats.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/stats.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -270,13 +248,11 @@
...
@@ -270,13 +248,11 @@
<file>
${user.home}/logs/rocketmqlogs/commercial.log
</file>
<file>
${user.home}/logs/rocketmqlogs/commercial.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/commercial.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/commercial.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
10
</maxIndex>
<maxIndex>
10
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
500MB
</maxFileSize>
<maxFileSize>
500MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
</appender>
</appender>
...
...
distribution/conf/logback_filtersrv.xml
浏览文件 @
49261873
...
@@ -22,13 +22,11 @@
...
@@ -22,13 +22,11 @@
<file>
${user.home}/logs/rocketmqlogs/filtersrv_default.log
</file>
<file>
${user.home}/logs/rocketmqlogs/filtersrv_default.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filtersrv_default.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filtersrv_default.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -42,13 +40,11 @@
...
@@ -42,13 +40,11 @@
<file>
${user.home}/logs/rocketmqlogs/filtersrv.log
</file>
<file>
${user.home}/logs/rocketmqlogs/filtersrv.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filtersrv.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/filtersrv.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
...
distribution/conf/logback_namesrv.xml
浏览文件 @
49261873
...
@@ -22,8 +22,7 @@
...
@@ -22,8 +22,7 @@
<file>
${user.home}/logs/rocketmqlogs/namesrv_default.log
</file>
<file>
${user.home}/logs/rocketmqlogs/namesrv_default.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/namesrv_default.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/namesrv_default.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
...
@@ -42,8 +41,7 @@
...
@@ -42,8 +41,7 @@
<file>
${user.home}/logs/rocketmqlogs/namesrv.log
</file>
<file>
${user.home}/logs/rocketmqlogs/namesrv.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/namesrv.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/namesrv.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
...
...
distribution/conf/logback_tools.xml
浏览文件 @
49261873
...
@@ -22,13 +22,11 @@
...
@@ -22,13 +22,11 @@
<file>
${user.home}/logs/rocketmqlogs/tools_default.log
</file>
<file>
${user.home}/logs/rocketmqlogs/tools_default.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/tools_default.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/tools_default.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
<triggeringPolicy
<triggeringPolicy
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
class=
"ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"
>
<maxFileSize>
100MB
</maxFileSize>
<maxFileSize>
100MB
</maxFileSize>
</triggeringPolicy>
</triggeringPolicy>
<encoder>
<encoder>
...
@@ -42,8 +40,7 @@
...
@@ -42,8 +40,7 @@
<file>
${user.home}/logs/rocketmqlogs/tools.log
</file>
<file>
${user.home}/logs/rocketmqlogs/tools.log
</file>
<append>
true
</append>
<append>
true
</append>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.FixedWindowRollingPolicy"
>
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/tools.%i.log
<fileNamePattern>
${user.home}/logs/rocketmqlogs/otherdays/tools.%i.log.gz
</fileNamePattern>
</fileNamePattern>
<minIndex>
1
</minIndex>
<minIndex>
1
</minIndex>
<maxIndex>
5
</maxIndex>
<maxIndex>
5
</maxIndex>
</rollingPolicy>
</rollingPolicy>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录