# Viewing a log

To view a log, click on **View server logs** and select a file from the drop down list:

<figure><img src="/files/faUc4eB8ItiqhmPTq9Xf" alt=""><figcaption><p>Server logs</p></figcaption></figure>

Please note that only files from the last 7 days will appear in the drop down. If you require access to older logs you will have to access the server using a different method.

It is highly recommended not to attempt to view very large logs this way. Extremely large logs may break the memory constraints of either the server or the console. It will also be very slow to render if the connection is low bandwidth.


---

# 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.tomorrowx.com/cap/product-reference/accessing-server-logs/viewing-a-log.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.
