> 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

This article explains how to fetch device logs from GitProtect for self-troubleshooting or when submitting a support ticket for technical assistance.

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="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FSmX3NtPdpnKcPPZ8hFx8%2Fimage.png?alt=media&amp;token=7fa360e1-4f3d-4dd9-a8a5-4e9c8b805239" alt="" data-size="line"> button next to the device.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-783c346662fccd9e385e1912108a773292c39a07%2Fimage%20(892).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-669556d4ef2e42af7af9737c36d8bb6566259955%2Fimage%20(894).png?alt=media" 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="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-4d70b33b8e19a928b90a3bc06b614c636487e430%2Fimage%20(895).png?alt=media" 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="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FSvDHVeeBtEXOmbDUtAZd%2Fimg_48320372145278934.png?alt=media&amp;token=1577a754-9bbf-4f3f-8637-baa8adabfb69" 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 %}
