mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
EG-71 - Changed the default file limit in the log4j2 configuration (#5996)
* Changed the default file limit in the log4j2 configuration to address roll over issue described in EG-71 * Updated the default file limit in the comment
This commit is contained in:
parent
d037dc0d06
commit
f6c30453a2
@ -66,8 +66,8 @@
|
||||
<PatternLayout pattern="%msg%n%throwable{0}" />
|
||||
</Console>
|
||||
|
||||
<!-- Will generate up to 100 log files for a given day. During every rollover it will delete
|
||||
those that are older than 60 days, but keep the most recent 10 GB -->
|
||||
<!-- Will generate up to 500 log files for a given day. Adjust this number according to the available storage.
|
||||
During every rollover it will delete those that are older than 60 days, but keep the most recent 10 GB -->
|
||||
<RollingRandomAccessFile name="RollingFile-Appender"
|
||||
fileName="${log-path}/${log-name}.log"
|
||||
filePattern="${archive}/${log-name}.%date{yyyy-MM-dd}-%i.log.gz">
|
||||
@ -93,7 +93,7 @@
|
||||
<SizeBasedTriggeringPolicy size="100MB"/>
|
||||
</Policies>
|
||||
|
||||
<DefaultRolloverStrategy min="1" max="100">
|
||||
<DefaultRolloverStrategy min="1" max="500">
|
||||
<Delete basePath="${archive}" maxDepth="1">
|
||||
<IfFileName glob="${log-name}*.log.gz"/>
|
||||
<IfLastModified age="60d">
|
||||
|
Loading…
Reference in New Issue
Block a user