WANG преди 5 години
родител
ревизия
cb45468c03
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      examcloud-exchange-starter/src/main/resources/log4j2.xml

+ 3 - 2
examcloud-exchange-starter/src/main/resources/log4j2.xml

@@ -36,8 +36,9 @@
 			</Policies>
 			<DefaultRolloverStrategy max="10000">
 				<Delete basePath="./logs/interface" maxDepth="1">
-					<IfFileName glob="interface-*.log" />
-					<IfAccumulatedFileSize exceeds="10 GB" />
+					<IfFileName glob="interface-*.log">
+						<IfAccumulatedFileSize exceeds="10 GB" />
+					</IfFileName>
 				</Delete>
 			</DefaultRolloverStrategy>
 		</RollingFile>