# Get Exchange Logs

## Get exchange logs

```
hollaex logs
```

Logs are very useful in case of debugging. You can easily get logs from all HollaEx components by running the command above.

```
hollaex logs --target <SERVER_COMPONENT_NAME>
```

You could specify the server components to see the logs. The value for the `--targe` could be something like `api` or `stream`.

```
hollaex logs --export <PATH>
```

If you want to share your logs with others, try to use the `--export` flag with `hollaex logs`. The logs output will be saved as a file at the target path.

## Status

```
hollaex status
```

Something seems off? Here's a simple command to quickly diagnose the exchange server status. With it you will be able to check the HollaEx server component's status and API health quickly.


---

# 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.hollaex.com/get-started/cli-how-tos/get-exchange-logs.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.
