Tinkerwell 5 is out now! Your favorite PHP Scratchpad enters the AI age. Tinkerwell 5 is out now! Your favorite PHP Scratchpad enters the AI age with conversational AI, MCP and more. Learn more
Forge CLI allows you to read your servers log files without having to connect to your server via SSH.
You can see the Nginx error logs, using: forge logs.
There are multiple available log files that you can access:
To retrieve the Nginx access logs, pass the --file=nginx_access option to the logs command.
forge logs --file=nginx_access
To retrieve the Nginx error logs, pass the --file=nginx_error option to the logs command.
forge logs --file=nginx_error
To retrieve the database logs, pass the --file=database option to the logs command.
forge logs --file=database
To retrieve the PHP FPM logs, pass the --file=php7x option to the logs command, where php7x is a valid version number. For example:
forge logs --file=php74
Kickstart your Laravel Websockets project with this in-depth video course – sign up to our newsletter and get a notification when it launches.