From c67a696e133b9946dacac53a6a9e8ab9215f43ac Mon Sep 17 00:00:00 2001 From: Vadim Eisenberg Date: Thu, 7 Mar 2019 16:47:36 +0200 Subject: [PATCH] make "Disable Envoy's access logging a separate section" (#3553) so it can be referenced from other documents --- .../docs/tasks/telemetry/access-log/index.md | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/content/docs/tasks/telemetry/access-log/index.md b/content/docs/tasks/telemetry/access-log/index.md index 45a27cbc0a..f35b2f3a15 100644 --- a/content/docs/tasks/telemetry/access-log/index.md +++ b/content/docs/tasks/telemetry/access-log/index.md @@ -76,16 +76,18 @@ Note that the messages corresponding to the request appear in logs of the Istio ## Cleanup -1. Shutdown the [sleep]({{}}/samples/sleep) and [httpbin]({{}}/samples/httpbin) services: +Shutdown the [sleep]({{}}/samples/sleep) and [httpbin]({{}}/samples/httpbin) services: - {{< text bash >}} - $ kubectl delete -f @samples/sleep/sleep.yaml@ - $ kubectl delete -f @samples/httpbin/httpbin.yaml@ - {{< /text >}} +{{< text bash >}} +$ kubectl delete -f @samples/sleep/sleep.yaml@ +$ kubectl delete -f @samples/httpbin/httpbin.yaml@ +{{< /text >}} -1. Edit the `istio` configuration map and set `global.proxy.accessLogFile` to `""`. - Be sure to escape quotation marks with backward slashes (`\"`). +### Disable Envoy's access logging - {{< text bash >}} - $ kubectl edit cm istio -n istio-system - {{< /text >}} +Edit the `istio` configuration map and set `global.proxy.accessLogFile` to `""`. +Be sure to escape quotation marks with backward slashes (`\"`). + +{{< text bash >}} +$ kubectl edit cm istio -n istio-system +{{< /text >}}