Skip to content

Commit 8ed8055

Browse files
authored
Merge pull request #246 from metacpan/haarg/fix-es-log-rotation
fix elasticsearch log file rotation
2 parents d69dff2 + dde6797 commit 8ed8055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib-modules/elasticsearch/templates/etc/elasticsearch/logging.yml.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ appender:
3535
type: <%= @file_rolling_type %>
3636
file: ${path.logs}/${cluster.name}.log
3737
<%- if @file_rolling_type == 'dailyRollingFile' -%>
38-
datePattern: <%= @daily_rolling_date_pattern %>
38+
datePattern: "<%= @daily_rolling_date_pattern %>"
3939
<%- elsif @file_rolling_type == 'rollingFile' -%>
4040
maxBackupIndex: <%= @rolling_file_max_backup_index %>
4141
maxFileSize: <%= @rolling_file_max_file_size %>

0 commit comments

Comments
 (0)