mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 05:59:03 +00:00
typo fix deubg > debug, capitalization (#893)
This commit is contained in:
@@ -6,7 +6,7 @@ title: Logging
|
|||||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/troubleshooting/other-troubleshooting-tips/logging"/>
|
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/troubleshooting/other-troubleshooting-tips/logging"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
## Log levels
|
## Log Levels
|
||||||
|
|
||||||
The following log levels are used in Rancher:
|
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. |
|
| `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. |
|
| `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
|
* Configure debug log level
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ $ docker exec -ti <container_id> loglevel --set info
|
|||||||
OK
|
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`
|
If you need to troubleshoot the creation of objects in your infrastructure provider of choice, `rancher-machine`
|
||||||
debug logs might be helpful to you.
|
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.
|
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.
|
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`
|
- 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
|
:::caution
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ title: Logging
|
|||||||
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/troubleshooting/other-troubleshooting-tips/logging"/>
|
<link rel="canonical" href="https://ranchermanager.docs.rancher.com/troubleshooting/other-troubleshooting-tips/logging"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
## Log levels
|
## Log Levels
|
||||||
|
|
||||||
The following log levels are used in Rancher:
|
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. |
|
| `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. |
|
| `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
|
* Configure debug log level
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ $ docker exec -ti <container_id> loglevel --set info
|
|||||||
OK
|
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`
|
If you need to troubleshoot the creation of objects in your infrastructure provider of choice, `rancher-machine`
|
||||||
debug logs might be helpful to you.
|
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.
|
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.
|
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`
|
- 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
|
:::caution
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user