Skip to content

Commit a62d266

Browse files
CopilotSkyeYoung
andauthored
fix: remove $apisix_request_id from stream access_log_format (#257)
* Initial plan * fix: remove $apisix_request_id from stream access_log_format and bump chart version to 0.2.53 Co-authored-by: SkyeYoung <48400568+SkyeYoung@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: SkyeYoung <48400568+SkyeYoung@users.noreply.github.com>
1 parent 5efa735 commit a62d266

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

charts/gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type: application
1414
# This is the chart version. This version number should be incremented each time you make changes
1515
# to the chart and its templates, including the app version.
1616
# Versions are expected to follow Semantic Versioning (https://semver.org/)
17-
version: 0.2.52
17+
version: 0.2.53
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application. Versions are not expected to

charts/gateway/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ The command removes all the Kubernetes components associated with the chart and
211211
| logs.enableAccessLog | bool | `true` | Enable access log or not, default true |
212212
| logs.errorLog | string | `"/dev/stderr"` | Error log path |
213213
| logs.errorLogLevel | string | `"warn"` | Error log level, Allowed values: `debug`, `info`, `notice`, `warn`, `error`, `crit`, `alert`, `or` `emerg` |
214-
| logs.stream | object | `{"accessLog":"logs/access_stream.log","accessLogFormat":"$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time $apisix_request_id","accessLogFormatEscape":"default","enableAccessLog":false}` | Stream access log and error log configuration |
214+
| logs.stream | object | `{"accessLog":"logs/access_stream.log","accessLogFormat":"$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time","accessLogFormatEscape":"default","enableAccessLog":false}` | Stream access log and error log configuration |
215215
| logs.stream.accessLog | string | `"logs/access_stream.log"` | Stream access log path |
216-
| logs.stream.accessLogFormat | string | `"$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time $apisix_request_id"` | Stream access log format |
216+
| logs.stream.accessLogFormat | string | `"$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time"` | Stream access log format |
217217
| logs.stream.accessLogFormatEscape | string | `"default"` | Allows setting json or default characters escaping in variables for stream |
218218
| logs.stream.enableAccessLog | bool | `false` | Enable stream access log or not, default false |
219219
| nameOverride | string | `""` | |

charts/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ logs:
529529
# -- Stream access log path
530530
accessLog: "logs/access_stream.log"
531531
# -- Stream access log format
532-
accessLogFormat: '$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time $apisix_request_id'
532+
accessLogFormat: '$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time'
533533
# -- Allows setting json or default characters escaping in variables for stream
534534
accessLogFormatEscape: default
535535

0 commit comments

Comments
 (0)