istio之开启istio-proxy accessLog
修改 istio
配置文件:
helm template install/kubernetes/helm/istio --namespace=istio-system -x templates/configmap.yaml --set global.proxy.accessLogFile="/dev/stdout" | kubectl replace -f -
您也可以通过设置 accessLogEncoding
为 JSON
或 TEXT
来在两种格式之间切换。
您也许希望通过设置 accessLogFormat
来自定义访问日志的格式。
三个参数也可以通过修改 helm values 来进行配置:
global.proxy.accessLogFile
global.proxy.accessLogEncoding
global.proxy.accessLogFormat
这三种参数也可以通过安装选项来进行配置:
闭 Envoy 的访问日志
编辑 istio
配置文件然后设置 accessLogFile
为 ""
。