Skip to content

Commit

Permalink
Merge pull request #888 from rancher/2023-Q3-v2.7x
Browse files Browse the repository at this point in the history
Merge 2023-Q3-v2.7x into main
  • Loading branch information
btat authored Sep 28, 2023
2 parents 892f92b + 8c09aef commit e8497d1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 3 deletions.
16 changes: 16 additions & 0 deletions docs/troubleshooting/other-troubleshooting-tips/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,19 @@ possible to enable debug logs in `rancher-machine` when provisioning RKE1, RKE2
Just like the `trace` log level above, `rancher-machine` debug logs can contain sensitive information.

:::


## 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`

:::caution

The `cattle-cluster-agent` debug logs may contain sensitive information.

:::
12 changes: 9 additions & 3 deletions src/pages/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Below are the documentation and release notes for the currently released version

<table>
<tr>
<td><b>v2.7.6</b></td>
<td><b>v2.7.7</b></td>
<td><a href="https://ranchermanager.docs.rancher.com/v2.7">Documentation</a></td>
<td><a href="https://github.com/rancher/rancher/releases/tag/v2.7.6">Release Notes</a></td>
<td><a href="https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-7-6/">Support Matrix</a></td>
<td><a href="https://github.com/rancher/rancher/releases/tag/v2.7.7">Release Notes</a></td>
<td><a href="https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-7-7/">Support Matrix</a></td>
</tr>
</table>

Expand All @@ -33,6 +33,12 @@ Below are the documentation and release notes for the currently released version
Below are the documentation and release notes for previous versions of Rancher 2.7.x:

<table>
<tr>
<td><b>v2.7.6</b></td>
<td><a href="https://ranchermanager.docs.rancher.com/v2.7">Documentation</a></td>
<td><a href="https://github.com/rancher/rancher/releases/tag/v2.7.6">Release Notes</a></td>
<td><a href="https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-7-6/">Support Matrix</a></td>
</tr>
<tr>
<td><b>v2.7.5</b></td>
<td><a href="https://ranchermanager.docs.rancher.com/v2.7">Documentation</a></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,19 @@ possible to enable debug logs in `rancher-machine` when provisioning RKE1, RKE2
Just like the `trace` log level above, `rancher-machine` debug logs can contain sensitive information.

:::


## 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`

:::caution

The `cattle-cluster-agent` debug logs may contain sensitive information.

:::

0 comments on commit e8497d1

Please sign in to comment.