# Troubleshooting

Here are some tips to help you troubleshoot problems.

## Logging level

By setting the [logging level](/command-line-usage/common-options.md#set-logging-level) to **debug** or **trace**, you will see lots of useful information that might help you spot the problem. Logging level is set with `--log <level>` option which is available for all commands,

#### Example

This is how you set logging level to trace:

```bash
tkm stacks deploy --log trace
```

## Statistics

To understand how Takomo interacts with AWS APIs you can use `--stats` option to instruct Takomo to print various statistics after executing a command.

#### Example

This is how you enable statistics:

```bash
tkm <your command here> --stats
```


---

# 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.takomo.io/support/troubleshooting.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.
