> For the complete documentation index, see [llms.txt](https://docs.thinkdiffusion.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thinkdiffusion.com/troubleshooting/how-to-access-logs-in-thinkdiffusion.md).

# How To Access Logs In ThinkDiffusion

{% hint style="info" %}
💡 Under each app folder is a `logs` folder. Inside that folder, you’ll find a log file that matches the machine ID in your URL. So for comfyui it will be under the `/comfyui/logs/` folder.
{% endhint %}

<figure><img src="/files/PbFbuWCawJVKtJ1yPyrp" alt=""><figcaption><p>How To Access Logs In ThinkDiffusion</p></figcaption></figure>

Curious what’s going on in the terminal as you’re working?

Every time you launch a machine, it's assigned a distinct name, and a related log file is created for it inside the corresponding app folder. For instance, a log file might be named *phu-attention-23213812-logs.txt.*<br>

* Simply navigate to *a1111/logs*, *comfyui/logs,* *fooocus/logs, or kohya/logs.*
* Click on the *\<machine\_name>.txt* file.
* The latest log file will open in a new tab.&#x20;
* ***Refresh*** your browser to get the latest status in real-time!<br>

***

If you're still confused about an issue, feel free to reach out to our support team on the ThinkDiffusion[ Discord here](https://discord.com/invite/hAm87ApunD). Don't forget to attach the `logs file` as it helps them resolve your query much faster.

**Step-by-step breakdown of how to access Logs on ThinkDiffusion**

1. Navigate to your apps file browser and click on app name, for example - "comfyui"

<div align="left" data-full-width="false"><figure><img src="/files/a6XBiKlx33NNFxnJKkoY" alt=""><figcaption></figcaption></figure></div>

2. Navigate to the logs folder within the app folder<br>

   <figure><img src="/files/QMNDHXwpuZr4914TiV0a" alt=""><figcaption></figcaption></figure>
3. Each `log file` has a name convention based on `user-workflow` and a `timestamp` to help you identify the correct logs.&#x20;

<figure><img src="/files/aIZftJOPBSO9SK1X0wwS" alt=""><figcaption></figcaption></figure>


---

# 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.thinkdiffusion.com/troubleshooting/how-to-access-logs-in-thinkdiffusion.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.
