Skip to content

Commit

Permalink
[cas] one logfile a day is enough
Browse files Browse the repository at this point in the history
  • Loading branch information
landryb committed Jun 27, 2024
1 parent e8dfae7 commit df15a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cas/config/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PatternLayout pattern="%highlight{%d %p [%c] - &lt;%m&gt;}%n"/>
</Console>
<RollingFile name="file" fileName="${baseDir}/cas.log" append="true"
filePattern="${baseDir}/cas-%d{yyyy-MM-dd-HH}-%i.log">
filePattern="${baseDir}/cas-%d{yyyy-MM-dd}-%i.log">
<PatternLayout pattern="%d %p [%c] - &lt;%m&gt;%n"/>
<Policies>
<OnStartupTriggeringPolicy />
Expand All @@ -29,7 +29,7 @@
</Policies>
</RollingFile>
<RollingFile name="auditlogfile" fileName="${baseDir}/cas_audit.log" append="true"
filePattern="${baseDir}/cas_audit-%d{yyyy-MM-dd-HH}-%i.log">
filePattern="${baseDir}/cas_audit-%d{yyyy-MM-dd}-%i.log">
<PatternLayout pattern="%d %p [%c] - %m%n"/>
<Policies>
<OnStartupTriggeringPolicy />
Expand Down

0 comments on commit df15a19

Please sign in to comment.