---
title: Checking the RDP Proxy logs
slug: kronpam-support-and-maintenance-guides/checking-the-rdp-proxy-logs
docTags: 
createdAt: 2024-07-24T11:39:25.951Z
---

To obtain more granular logs for diagnosing RDP Proxy related issues, follow the procedure below. This will enable enhanced visibility into session activity, connection handling, and error traces specific to the RDP Proxy service.

:::hint{type="danger"}
This procedure will disconnect all RDP proxy sessions.
:::

To collect the Guacamole logs at the debug level:

1. Open the following file with a text editor:
   `/usr/lib/systemd/system/pam-rdpgw.service`
2. Add `-L debug` to the end of the line starting with ExecStart
3. Save the file and run the following command:
   `systemctl daemon-reload`
4. Restart the service:
   `systemctl restart pam-rdpgw`
5. Run the following command:
   `journalctl -f _SYSTEMD_UNIT=pam-rdpgw.service > test.log`

