To see systemd logs, run
journalctl -f
To see a service specific logs (example postfix)
journalctl -f -u postfix
To see logs for a specific service, run
journalctl --unit apache2
Logs with out pagination
journalctl --no-pager -u nginx
journalctl -u lxc-net.service -n 30
See systemd
Leave a Reply