From 41cd05e6eb7a1bd8130bbd1b6c9540137b82f9d6 Mon Sep 17 00:00:00 2001 From: DELL <DELL@WIN-3EOIPEE9ML1> Date: 星期五, 19 一月 2024 01:18:24 +0800 Subject: [PATCH] V2.102 edit by lijun @ 2023-08-16 1.当前版本修改为南瑞协转的通信程序 2.兼容正常1托2和常规1托2 --- iec61850_forFoShanAES_Model/log4j2_batt_61850_dev_x64.xml | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/iec61850_forFoShanAES_Model/log4j2_batt_61850_dev_x64.xml b/iec61850_forFoShanAES_Model/log4j2_batt_61850_dev_x64.xml index cc52e81..8aabf0e 100644 --- a/iec61850_forFoShanAES_Model/log4j2_batt_61850_dev_x64.xml +++ b/iec61850_forFoShanAES_Model/log4j2_batt_61850_dev_x64.xml @@ -24,7 +24,17 @@ <SizeBasedTriggeringPolicy size="20MB"/> </Policies> <!--淇濆瓨鏃ュ織鏂囦欢涓暟--> - <DefaultRolloverStrategy max="9"/> + <DefaultRolloverStrategy max="15"> + <Delete basePath="${LOG_HOME}/" maxDepth="2"> + <IfFileName glob="*.log.gz" > + <IfAny> + <IfAccumulatedFileCount exceeds="14" /> + </IfAny> + </IfFileName> + <!--!Note: 杩欓噷鐨刟ge蹇呴』鍜宖ilePattern鍗忚皟, 鍚庤�呮槸绮剧‘鍒癲d, 杩欓噷灏辫鍐欐垚xd, xD灏变笉璧蜂綔鐢�,鍙﹀, 鏁板瓧鏈�濂�>2, 鍚﹀垯鍙兘閫犳垚鍒犻櫎鐨勬椂鍊�, 鏈�杩戠殑鏂囦欢杩樺浜庤鍗犵敤鐘舵��,瀵艰嚧鍒犻櫎涓嶆垚鍔�!--> + <!--30澶�--> + </Delete> + </DefaultRolloverStrategy> </RollingFile> <!--error绾у埆鏃ュ織杈撳嚭--> -- Gitblit v1.9.1