> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pangolin.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Client Logs

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

<div />

How you access client logs depends on the platform. Use the section for your client type below.

## Windows

You can view logs in the Pangolin client GUI under **Preferences > Logs**.

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

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

To tail the log in PowerShell:

```powershell theme={"theme":"gruvbox-light-hard"}
Get-Content "C:\ProgramData\pangolin\logs\pangolin.log" -Tail 0 -Wait
```

## Mac

Mac uses the Apple system logger. To stream Pangolin logs:

```bash theme={"theme":"gruvbox-light-hard"}
log stream --predicate 'subsystem == "net.pangolin.Pangolin" OR subsystem == "net.pangolin.Pangolin.PacketTunnel"' --level debug --style compact
```

## CLI / Linux

The default log file location is:

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

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

```bash theme={"theme":"gruvbox-light-hard"}
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:

```bash theme={"theme":"gruvbox-light-hard"}
sudo pangolin up --attach
```

## Android

View logs within the app under **Preferences > Logs**.

## iOS

Because of how iOS handles system logging, attach the iPhone to a Mac and use Console.app to view logs.

In Console.app, add a **Subsystem** filter for:

```
net.pangolin.Pangolin
```
