Hostxpeed
Login Get Started →
Getting Started

How to Check Service Logs

3 min read
20 views
Jun 10, 2026

Prerequisites

Before checking service logs, make sure you have:

  • SSH access to your VPS

Using journalctl

Connect to your VPS:

ssh hxroot@YOUR_SERVER_IP -p 22

View logs for specific service:

sudo journalctl -u nginx

View last 50 lines:

sudo journalctl -u nginx -n 50

Follow logs in real-time:

sudo journalctl -u nginx -f

View logs since last boot:

sudo journalctl -u nginx -b

View All Service Logs

sudo journalctl

✅ You can now view service logs for troubleshooting.

Was this article helpful?