logging.md: replace v1.6 with page.version

logging.md: replace v1.6 with page.version
This commit is contained in:
Xiaoyu Zhang
2017-07-08 05:20:22 +08:00
committed by Andrew Chen
parent 797b769ad8
commit 64a3f7ab2e
@@ -49,7 +49,7 @@ $ kubectl logs counter
... ...
``` ```
You can use `kubectl logs` to retrieve logs from a previous instantiation of a container with `--previous` flag, in case the container has crashed. If your pod has multiple containers, you should specify which container's logs you want to access by appending a container name to the command. See the [`kubectl logs` documentation](/docs/user-guide/kubectl/v1.6/#logs) for more details. You can use `kubectl logs` to retrieve logs from a previous instantiation of a container with `--previous` flag, in case the container has crashed. If your pod has multiple containers, you should specify which container's logs you want to access by appending a container name to the command. See the [`kubectl logs` documentation](/docs/user-guide/kubectl/{{page.version}}/#logs) for more details.
## Logging at the node level ## Logging at the node level
@@ -77,7 +77,7 @@ As an example, you can find detailed information about how `kube-up.sh` sets
up logging for COS image on GCP in the corresponding [script] up logging for COS image on GCP in the corresponding [script]
[cosConfigureHelper]. [cosConfigureHelper].
When you run [`kubectl logs`](/docs/user-guide/kubectl/v1.6/#logs) as in When you run [`kubectl logs`](/docs/user-guide/kubectl/{{page.version}}/#logs) as in
the basic logging example, the kubelet on the node handles the request and the basic logging example, the kubelet on the node handles the request and
reads directly from the log file, returning the contents in the response. reads directly from the log file, returning the contents in the response.
**Note:** currently, if some external system has performed the rotation, **Note:** currently, if some external system has performed the rotation,