Logs and Diagnostics
When something does not work, XplicitTrust support asks for the logs of the device. This page shows the ways to collect and send them, where the logs are on each platform, and which checks you can run on the device itself.
In short
Send the logs from the app (Send Logs), from the Admin Console (Request Send Logs on the device) or with xtna-util -send-logs. Run Diagnostics in the app or xtna-util -connectivity to see which part of the path is blocked.
Send the logs to support
| Where | How | Notes |
|---|---|---|
| App, desktop | Send Logs in the side menu (or in Help), then the button Send Logs. | Sends only the agent's logs. The page shows the progress and Logs sent to server when it worked. See Send Logs. |
| App, iOS and Android | Send Logs in the menu (or in Help). | Sends at once. On iOS the tunnel must be running. |
| Command line | xtna-util -send-logs |
Collects and sends the diagnostic logs. See xtna-util. |
| Admin Console | Select the Asset or Client, then Send Logs, then Request Send Logs. | Asks the agent to send its logs. The button can be used once every five minutes. An offline device sends the logs when it comes online. See Assets and Users & Clients. The Topology Explorer side panels also offer Send Logs. |
Use the Admin Console route when the person at the device cannot do it, for example for an asset in a remote site.
Where the logs are
The agent writes its logs on the device. You do not need them for Send Logs; look at them yourself when you debug an asset on the command line.
| Platform | Log |
|---|---|
| Windows, desktop app | The app's log xtna-agent-current.log in %LOCALAPPDATA%\XplicitTrust. Older logs are kept next to it as xtna-agent-<timestamp>.log. |
Linux asset (service xtna-service) |
The system journal: journalctl -u xtna-service. |
| Docker, Podman | sudo docker logs <container-name>, and inside the container the combined log /etc/XplicitTrust/logs/xtna-service.log: sudo docker exec <container-name> tail -f /etc/XplicitTrust/logs/xtna-service.log. It often shows the cause more clearly than docker logs. See Docker and Podman. |
| LANCOM Unified Firewall | The container log through the firewall's API (GET /api/docker/container-logs/{uniqueId}). The agent's own log is /etc/XplicitTrust/logs/xtna-service.log inside the container, on the volume. See LANCOM. |
| GL.iNet | /var/log/xtna-service/. See GL.iNet. |
Checks on the device
| Check | What it tells you |
|---|---|
| Diagnostics in the app | Whether the device reaches the internet, name resolution, the XplicitTrust services, the broker, the relays and your sign-in page. Each check is also written to the app's log, so sent logs carry the result. Copy result puts it in your clipboard for a support ticket. |
xtna-util -connectivity -domain <email domain of the tenant> |
The same kind of test for assets and scripts, without the app. It also reports whether TLS inspection is present on the XplicitTrust endpoints. |
xtna-util -status |
The current configuration status. On a device behind a firewall it also reports the active data path and the NAT type seen locally, see Firewalls, Proxies and TLS Inspection. |
xtna-util -service-status |
Whether xtna-service is running. |
| Packet Capture | The traffic of a device, recorded from the Admin Console. |
| Access Diagnostic | Why a user can or cannot reach a destination, from the policy side. |
-connectivity, -status and -service-status work without administrator rights.
See also
- Concept: Connection Paths and NAT
- Guide: Troubleshooting: start here, Repairing the Client Installation
- Reference: xtna-util, Diagnostics, Settings, Account and Help