# Troubleshooting log file reference

## Gather logs remotely from Scappman Portal

You can gather the logs from your reports section of the Scappman portal. You will need to click on the specific app find the failed one for the specific device and then request logs.

<figure><img src="/files/TKTbklHxDmoU30kmb1a8" alt=""><figcaption><p>Select Reports, then the app which failed to install</p></figcaption></figure>

<figure><img src="/files/wJpZ4glBJc1WeJkbjZky" alt=""><figcaption><p>Find the Device Name then click the collect logs button</p></figcaption></figure>

{% hint style="info" %}
Device must be online for log collection to occur
{% endhint %}

## Manually gather client logs needed to troubleshoot failed installs

* %ProgramData%\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log
* %ProgramData%\Microsoft\IntuneManagementExtension\Logs\AgentExecutor.log
* %ProgramData%\Scappman\Logs\\\<Vendor>\\(logs)
* %Windows%\Temp\\(specific Vendor log if it exists)


---

# 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://support.scappman.com/support/troubleshooting-log-file-reference.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.
