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'
  • Loading branch information
zrhoffman authored Jan 20, 2022
1 parent 4073af1 commit 31beba5
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 31beba5

Please sign in to comment.