> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/knowledge-base/how-to-articles/enable-the-devolutions-server-log-files.md).

# Enable the Devolutions Server log files

Enable Devolutions Server log files by granting Modify permissions on the App\_Data folder and restarting the server to generate DPS\_Main logs.

You may be asked by our customer support team to get the Devolutions Server log files. They are located in the Devolutions Server web app App\_Data folder.

The files that are needed from this location the ones starting with "DPS\_Main" (**DPS\_Main\_001.log**, **DPS\_Main\_002.log**, etc.). If they are not present, it is most likely because the ***Application Pool Identity*** cannot write in that folder. Resolve this issue by giving this identity the ***Modify*** permission on the App\_Data folder.

### Enable log files

1. In the Devolutions Server Console select the desired server from the list.
2. In the ***Server*** tab click on ***Explore***. This will open the installation folder.
3. Right-click on the ***App\_Data*** folder and select ***Properties***.
4. In the ***Security*** tab click on ***Edit...***.
5. Select ***IIS\_IUSRS***.
6. ***Allow*** the ***Modify*** permission and click ***OK***.
7. Click ***OK*** in the ***Properties*** window.
8. In the Devolutions Server Console click ***Stop server***.
9. Wait for a few seconds and then click ***Start server***. Restarting the server will create the **DPS\_Main.log** and **DPS\_Main\_001.log** files after a short delay. Actions need to be taken on the Devolutions Server for logs to be created (logging in, etc).

{% hint style="info" %}
When granting the ***Modify*** permission to the ***IIS\_IUSRS*** group, all users of application pools on that server are allowed to access this directory. If the installation uses a specific application pool identity for Devolutions Server, consider giving permissions exclusively to that identity. Alternatively, you could assign ***Modify*** permissions to the NETWORK SERVICE account, which is commonly used for IIS application pools, though this account might be shared with other services as well.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/knowledge-base/how-to-articles/enable-the-devolutions-server-log-files.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
