This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 4aaedf3 fix: apisix access log is corrupted when
accessLogFormatEscape is set to json (#453)
4aaedf3 is described below
commit 4aaedf37e8481c4758838bd13c3b6e1666b1491c
Author: ikatlinsky <[email protected]>
AuthorDate: Tue Jan 17 02:36:00 2023 +0100
fix: apisix access log is corrupted when accessLogFormatEscape is set to
json (#453)
Co-authored-by: Katlinsky, Ilya <[email protected]>
---
charts/apisix/templates/configmap.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/charts/apisix/templates/configmap.yaml
b/charts/apisix/templates/configmap.yaml
index 5149e3e..4ff0276 100644
--- a/charts/apisix/templates/configmap.yaml
+++ b/charts/apisix/templates/configmap.yaml
@@ -152,7 +152,7 @@ data:
enable_access_log: {{ .Values.logs.enableAccessLog }}
{{- if .Values.logs.enableAccessLog }}
access_log: "{{ .Values.logs.accessLog }}"
- access_log_format: "{{ .Values.logs.accessLogFormat }}"
+ access_log_format: '{{ .Values.logs.accessLogFormat }}'
access_log_format_escape: {{ .Values.logs.accessLogFormatEscape }}
{{- end }}
keepalive_timeout: 60s # timeout during which a keep-alive
client connection will stay open on the server side.