mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-12 16:13:23 +00:00
typo fix deubg > debug, capitalization (#893)
This commit is contained in:
committed by
GitHub
parent
a7b41dd423
commit
a1178a1485
@@ -6,7 +6,7 @@ title: Logging
|
||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/troubleshooting/other-troubleshooting-tips/logging"/>
|
||||
</head>
|
||||
|
||||
## Log levels
|
||||
## Log Levels
|
||||
|
||||
The following log levels are used in Rancher:
|
||||
|
||||
@@ -16,9 +16,9 @@ The following log levels are used in Rancher:
|
||||
| `debug` | Logs more detailed messages that can be used to debug. |
|
||||
| `trace` | Logs very detailed messages on internal functions. This is very verbose and can contain sensitive information. |
|
||||
|
||||
### How to configure a log level
|
||||
### How to Configure a Log Level
|
||||
|
||||
#### Kubernetes install
|
||||
#### Kubernetes Install
|
||||
|
||||
* Configure debug log level
|
||||
|
||||
@@ -58,7 +58,7 @@ $ docker exec -ti <container_id> loglevel --set info
|
||||
OK
|
||||
```
|
||||
|
||||
## Rancher machine debug logs
|
||||
## Rancher Machine Debug Logs
|
||||
If you need to troubleshoot the creation of objects in your infrastructure provider of choice, `rancher-machine`
|
||||
debug logs might be helpful to you.
|
||||
|
||||
@@ -80,14 +80,14 @@ Just like the `trace` log level above, `rancher-machine` debug logs can contain
|
||||
:::
|
||||
|
||||
|
||||
## Cattle-cluster-agent debug logs
|
||||
## Cattle-cluster-agent Debug Logs
|
||||
|
||||
The `cattle-cluster-agent` log levels can be set when you initialize downstream clusters.
|
||||
|
||||
When you create a cluster under **Cluster Configuration > Agent Environment Vars** you can set variables to define the log level.
|
||||
- Trace-level logging: Set `CATTLE_TRACE` or `RANCHER_TRACE` to `true`
|
||||
|
||||
- Debug-level logging: Set `CATTLE_DEBUG` or `RANCHER_DEUBG` to `true`
|
||||
- Debug-level logging: Set `CATTLE_DEBUG` or `RANCHER_DEBUG` to `true`
|
||||
|
||||
:::caution
|
||||
|
||||
|
||||
Reference in New Issue
Block a user