Owner: Dev Team | Last Updated: 2026-02-21 | Status: Current
Monitoring, logging, and observability.
| Setting |
Value |
| Channel |
stack (file-based) |
| Level |
debug (dev) / error (prod) |
| Location |
storage/logs/laravel.log |
// config/logging.php
'channels' => [
'stack' => ['driver' => 'stack', 'channels' => ['single']],
'single' => ['driver' => 'single', 'path' => storage_path('logs/laravel.log')],
]
# Laravel Pail (real-time)
php artisan pail --timeout=0
# Traditional tail
tail -f storage/logs/laravel.log
# Development
php artisan queue:listen --tries=1
# Production (via Supervisor)
php artisan queue:work --sleep=3 --tries=3 --max-time=3600
[program:booking-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/booking/current/artisan queue:work --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=deployer
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/html/booking/current/storage/logs/worker.log
stopwaitsecs=3600
* * * * * cd /var/www/html/booking/current && php artisan schedule:run >> /dev/null 2>&1
¶ Scheduled Commands
| Schedule |
Command |
Purpose |
| Every minute |
schedule:report |
Check for scheduled reports |
| Daily 09:00 |
leads:digest |
Leads digest |
| Hourly |
leads:process-abandoned |
Process abandoned leads |
| Daily 02:00 |
experiences:sync |
Sync with external systems |
| Tool |
Package |
Purpose |
| Debug Bar |
barryvdh/laravel-debugbar |
SQL queries, timing, memory |
| Pail |
laravel/pail |
Real-time log viewer |
| Telescope |
- |
Not installed (can be added) |
curl https://your-domain.com/api/v1/health-check
# Expected: {"status":"ok"}
| Date |
Author |
Change |
| 2026-02-21 |
Documentation Team |
Initial creation |
Prev: CI/CD | Next: Troubleshooting | Up: Deployment