> For the complete documentation index, see [llms.txt](https://docs.tessell.com/tessell/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tessell.com/tessell/tessell-for-sqlserver/db-services/my-services/database-service-home-page/logs.md).

# Logs

The Logs tab provides the mssql\_db\_error\_log SQL Server DB logs. Using these log files you can troubleshoot an issue. These logs are stored in the customer's cloud subscription and are only streamed to the Tessell console for viewing purposes. Tessell does not store or move these logs out of customer’s cloud accounts.

1. Choose an instance name from the dropdown list to view the logs of that instance if there are multiple instances.
2. On the left-side, you can view mssql\_db\_error\_log entries. You can view the log details of the selected file on the right-side.
3. Click **Go Live** to view logs which are updated every 15 seconds. A **Live** status indicates you are viewing updated logs.
4. You can use the Search bar to look for specific log terms.
5. Toggle **Show line numbers** to view the line numbers for all the logs in the log file.
6. To view the previous logs, use the **Load previous logs** button and to go to the last log line, use the **Jump to bottom button**.
7. Log files for the last hour are displayed by default. You can choose to view logs for 1, 3, 6, 12, or 24 hours.

### Downloading logs

To download logs for a standard time range (1h, 3h, 6h, 12h, or 24h), select the download button. The log file downloads to your local machine in your Downloads folder.

To download logs for a **custom date range** (AWS subscriptions only):

1. Select **Custom** in the time range selector, choose your desired start and end date and time, and select **Apply**.
2. Select the download button. A download request dialog box opens.
3. Select an **expiry duration** for your exported file — 1, 2, 3, 7, or 30 days — or select **No Expiry** to retain the file indefinitely.
4. Select **Submit** to queue the export request.

   > **Note:** The export is processed asynchronously. Depending on queue position and log volume, the download may not be immediately available.
5. To check the status of your export, go to the **Download History** section of the Logs tab. The following statuses are possible:

   | Status          | Description                                                                                                  |
   | --------------- | ------------------------------------------------------------------------------------------------------------ |
   | **Queued**      | The export request is waiting to be processed. Only one export can run at a time per AWS account per region. |
   | **In Progress** | The export is being processed.                                                                               |
   | **Completed**   | The export is ready. Select **Download** to retrieve the file via a pre-signed URL.                          |
   | **Failed**      | The export could not be completed. Retry or contact support.                                                 |
6. After the export reaches **Completed** status, select **Download** to download the file.

   > **Note:** The download link is valid for 1 hour. If the link expires before you download the file, go back to the Download History section and select Download again to generate a fresh link. The exported file remains available in storage until the expiry duration.
7. To delete an exported file before it expires, select **Delete** next to the completed export in the Download History section.

***

> **Notes:**
>
> * **AWS only:** Custom range log downloads using the export flow are supported for AWS subscriptions only. For non-AWS subscriptions, the existing download behavior applies.
> * **Feature enablement:** The DB log export feature must be enabled for your AWS subscription. For new AWS subscriptions, this is enabled by default. For existing subscriptions, contact your administrator to enable it.
> * **Queue behavior:** Only one export can run at a time per AWS account per region. If another export is in progress for the same account and region, your request is queued and processed when the current export completes.
> * **Size limit:** Export requests are limited to 5 GB of log data. Requests exceeding this limit are rejected at submission.

**Figure 4 - Logs tab**

![](/files/DFoVefKaqVwpwKoOexpi)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.tessell.com/tessell/tessell-for-sqlserver/db-services/my-services/database-service-home-page/logs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
