Client Logs

View Pangolin client logs on Windows, Mac, Linux, Android, and iOS

The Pangolin apps for Windows, Mac, Linux, iOS/iPadOS, and Android show their logs under About > Logs, with messages from both the app and the tunnel, and can save them to a file to attach to a support request. The sections below also cover each platform's log files and system tools, and the Pangolin CLI.

Windows

Open Settings > About > Logs. Select Save... to save them to a file.

You can also open the log file directly. The default location is:

C:\ProgramData\pangolin\logs\pangolin.log

To tail the log in PowerShell:

Get-Content "C:\ProgramData\pangolin\logs\pangolin.log" -Tail 0 -Wait

Mac

Open Settings > About > Logs. Select Save… to save them to a file.

Pangolin also writes to the Apple system logger. To stream its logs in Terminal:

log stream --predicate 'subsystem == "net.pangolin.Pangolin" OR subsystem == "net.pangolin.Pangolin.PacketTunnel"' --level debug --style compact

Linux

Open Settings > About > Logs. Select Save... to save them to a file.

The log files are at:

  • Background service and tunnel: /var/log/pangolin-client/, also available with journalctl -u pangolin-client on systemd
  • App: ~/.local/state/pangolin-client/logs/ (or $XDG_STATE_HOME/pangolin-client/logs/)

See Linux.

CLI

The default log file location is:

~/.config/pangolin/logs/client.log

If you run pangolin up in detached mode, you can tail logs with:

pangolin logs client -f -n 10

This example follows new log lines and shows the last 10 rows.

Alternatively, run in attached mode to see logs in the current terminal session:

sudo pangolin up --attach

Android

Open About > Logs. Pangolin saves tunnel logs automatically once you connect. Select Download Logs to save them to a file. See Android.

iOS/iPadOS

Open the About tab, then Logs. Tap the share button to save or send them, or use More to copy them.

For more detail, attach the iPhone or iPad to a Mac and use Console.app. Add a Subsystem filter for:

net.pangolin.Pangolin