From ffcbf45347005c242a491cccb58d6762e92f1a62 Mon Sep 17 00:00:00 2001 From: Chinmaya <1096515+chinmaya-n@users.noreply.github.com> Date: Sun, 13 Nov 2022 10:31:18 -0500 Subject: [PATCH] Fixed the Kubernetes and Docker sub-headings The current subheadings are indented wrong. Rather than fixing the indentation, this commit makes them as markdown sub-headings for a better reading experience. --- .../other-troubleshooting-tips/logging.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/troubleshooting/other-troubleshooting-tips/logging.md b/docs/troubleshooting/other-troubleshooting-tips/logging.md index 89bfb3098db..1f1df93a1b8 100644 --- a/docs/troubleshooting/other-troubleshooting-tips/logging.md +++ b/docs/troubleshooting/other-troubleshooting-tips/logging.md @@ -12,8 +12,8 @@ The following log levels are used in Rancher: ### How to configure a log level -* Kubernetes install - * Configure debug log level +#### Kubernetes install +* Configure debug log level ``` $ KUBECONFIG=./kube_config_cluster.yml $ kubectl -n cattle-system get pods -l app=rancher --no-headers -o custom-columns=name:.metadata.name | while read rancherpod; do kubectl -n cattle-system exec $rancherpod -c rancher -- loglevel --set debug; done @@ -23,7 +23,7 @@ OK $ kubectl -n cattle-system logs -l app=rancher -c rancher ``` - * Configure info log level +* Configure info log level ``` $ KUBECONFIG=./kube_config_cluster.yml $ kubectl -n cattle-system get pods -l app=rancher --no-headers -o custom-columns=name:.metadata.name | while read rancherpod; do kubectl -n cattle-system exec $rancherpod -c rancher -- loglevel --set info; done @@ -32,15 +32,15 @@ OK OK ``` -* Docker Install - * Configure debug log level +#### Docker Install +* Configure debug log level ``` $ docker exec -ti loglevel --set debug OK $ docker logs -f ``` - * Configure info log level +* Configure info log level ``` $ docker exec -ti loglevel --set info OK