The “Log” command is an easy way to manage all your logs, enable/disable, or visualize your server logs in real time.
Whether you want to debug an error, monitor an application or tool (WordPress, Nginx, PHP, mail, MySQL, etc.), or simply detect a visitor, bot, etc., among other applications, it is important to have this tool to do it easily, quickly and in real-time.
* Need help debugging an issue? Read our guide to learn how to start looking for hints in different development scenarios.
Syntax:
sudo log <domain> <option>
Options:
- -access-log
- -auth
- -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.