> For the complete documentation index, see [llms.txt](https://helpcenter.gitprotect.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.gitprotect.io/troubleshooting/fetching-device-logs.md).

# Fetching device logs

Logs are generated on every device with the **GitProtect worker** application installed. They can be accessed directly on the device or downloaded to the server running the **GitProtect Management Service**.

The logs can be also fetched directly through the **Management Service** (below guide refers to the on-prem deployment model):

{% stepper %}
{% step %}
Login your **Management Service** panel, open the **Devices** **tab**, and click the **Device details** <img src="/files/ajUcgTQemENFRlnXpZgk" alt="" data-size="line"> button next to the device.

<figure><img src="/files/KXwft1jBv2qVfJp3hGHM" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In the device info panel, scroll down to the very bottom and click **Device** **details**.

<figure><img src="/files/XPtXSMzAKzlEKgUzpR8s" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
In **Device details** view, click the **Download logs** button at the bottom.

{% hint style="info" %}
In **Device details** view, you can check your device parameters such as CPU, RAM, operating system, IP address, license, application version, and device ID.
{% endhint %}

<figure><img src="/files/qi8e6rQotN2FvcR73N5t" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Downloaded device logs will be saved to the **GitProtect Management Service** directory. The message displayed in the web panel provides the direct path to the \*.tar archive.

<figure><img src="/files/X2zls09Ou5LBptOvb4Jq" alt="logs"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Attach this file to your support ticket or extract its contents to investigate the issue on your own.
{% endstep %}
{% endstepper %}
