Unifi: Step-by-step process to access and read logs on a UniFi Access Point (UAP) via ssh

Unifi: Step-by-step process to access and read logs on a UniFi Access Point (UAP) via ssh
Photo by hannah joshua / Unsplash

To check the logs on a UniFi Access Point (UAP) via SSH. We will looking for the messages file. This file captures system events, connection attempts, and errors in real-time.

Here is the step-by-step process to access and read those logs.

  1. Access the UAP via SSH

ssh <username>@<ip-address-of-uap>



2. Locate to the logs location

cd /var/log

  1. To view the logs file.

cat messages

  1. Log look like.

  1. Command option.

To see the most recent entries (last 50 lines):

tail -n 50 /var/log/messages

To watch the log update in real-time (Press Ctrl + C to stop the live feed.):

tail -f /var/log/messages

To search for a specific keyword (e.g., "DHCP" or "error"):

grep -i "keyword" /var/log/messages