Skip to content

Commit

Permalink
Clarify how to set debug logs for Helm (#25555)
Browse files Browse the repository at this point in the history
* Clarify how to set debug logs for Helm

* Adding link for [4]

---------

Co-authored-by: sandersn130 <[email protected]>
  • Loading branch information
sadhbh-a and sadhbh-a authored Oct 4, 2024
1 parent 0bc6277 commit 3346593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/en/agent/troubleshooting/debug_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ agent config set log_level debug

You **cannot** change the log level for the trace-agent container at runtime like you can do for the agent container. A redeployment after setting `DD_LOG_LEVEL` variable to `debug` is still necessary for the dedicated trace-agent container.

If using [**Helm**][4], replace `logLevel: INFO` with `logLevel: DEBUG` in your `datadog-values.yaml` file and re-deploy.

## Agent log level

The following Agent log levels are available for `log_level` or `DD_LOG_LEVEL`:
Expand All @@ -63,3 +65,4 @@ The following Agent log levels are available for `log_level` or `DD_LOG_LEVEL`:
[1]: /agent/configuration/agent-configuration-files/#agent-main-configuration-file
[2]: /agent/configuration/agent-commands/#restart-the-agent
[3]: /agent/configuration/agent-log-files/
[4]: https://github.com/DataDog/helm-charts/blob/637472f105f42e8b444981ea2a38e955161c8e3a/charts/datadog/values.yaml#L125

0 comments on commit 3346593

Please sign in to comment.