Skip to content

Commit

Permalink
Merge pull request #410 from georchestra/caslogger
Browse files Browse the repository at this point in the history
[cas] one logfile a day is enough
  • Loading branch information
pmauduit authored Jul 3, 2024
2 parents 40f1b3e + df15a19 commit 99d3280
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 99d3280

Please sign in to comment.