Skip to content

Commit

Permalink
fix elasticsearch log file rotation
Browse files Browse the repository at this point in the history
Without quotes, the generated names end up looking like
`bm.log< ".2023-08-29"`
  • Loading branch information
haarg committed Sep 30, 2024
1 parent d69dff2 commit dde6797
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ appender:
type: <%= @file_rolling_type %>
file: ${path.logs}/${cluster.name}.log
<%- if @file_rolling_type == 'dailyRollingFile' -%>
datePattern: <%= @daily_rolling_date_pattern %>
datePattern: "<%= @daily_rolling_date_pattern %>"
<%- elsif @file_rolling_type == 'rollingFile' -%>
maxBackupIndex: <%= @rolling_file_max_backup_index %>
maxFileSize: <%= @rolling_file_max_file_size %>
Expand Down

0 comments on commit dde6797

Please sign in to comment.