The log
command provides a streamlined way to manage server logs—enabling, disabling, and viewing them in real time with minimal effort.
Whether you’re debugging errors, monitoring services like WordPress, Nginx, PHP, mail, or MySQL, or simply tracking visitors and bots, this tool offers fast, reliable access to the data you need. Real-time visibility makes it easier to troubleshoot issues, optimize performance, and maintain full awareness of your server activity.
* Need help debugging an issue? Our guide walks you through practical strategies for identifying clues across different development scenarios—whether you’re troubleshooting WordPress, PHP, Nginx, or MySQL. Start uncovering the root cause with confidence and clarity.
Syntax:
sudo log <domain> <option>
Options:
- -access-log
- -error
- -le
- –
mysql - –
php - -purge
- -ssh
- -syslog
- -wp
DEPRECATED: -only-error
This content is restricted to GitHub Sponsors only.
Your sponsorship helps make content like this possible!
If you have any questions, suggestions, ideas, or comments, or if you (gasp!) found a bug, join us in the Discussions Area.