# Manage traces using the CLI

To manage the traces settings, use the following CLI commands:

**Command:** `weka debug traces start|stop|status|retention|level|freeze`

**Command options:**

`start:` Starts collecting traces.

`stop:` Stops collecting traces.

`status:` Shows the traces configuration status.

`retention:` Changes the traces retention.

`level:`  Changes the traces verbosity level to high or low.

`freeze:` Sets, shows, or resets the traces freeze period.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.weka.io/4.1/support/diagnostics-management/traces-management/manage-traces-using-the-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
