Skip to content

Commit

Permalink
Ansible TR: Corrections to access.log archives file pattern (#6519)
Browse files Browse the repository at this point in the history
* Use date format yyyy-MM-dd

* Pad integer counter with '0'

(cherry picked from commit 31beba5)
  • Loading branch information
zrhoffman committed Jan 31, 2022
1 parent 19bea59 commit f8041b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ tr_log4j2_opts: |
</Console>
<RollingFile name="traffic_router_access"
fileName="{{tr_log_dir}}/access.log"
filePattern="{{tr_log_dir}}/access.log.%d{MM-dd-yyyy}-%2i" >
filePattern="{{tr_log_dir}}/access.log.%d{yyyy-MM-dd}-%02i" >
<PatternLayout pattern="%m%n" />
<Policies>
<SizeBasedTriggeringPolicy size="200MB" />
Expand Down

0 comments on commit f8041b3

Please sign in to comment.