Log Tailing
Monitor Laravel logs in real-time with Laravel Pail.
Overview
The Logs panel streams your Laravel application logs as they happen, using Laravel Pail.
Requirements
Laravel Pail must be installed in your project (default in Laravel 11+):
composer require laravel/pail --devEnabling Log Tailing
Toggle log tailing with:
- Click the Logs toggle in the toolbar
- The toggle turns amber when active
When enabled, Laradebug runs php artisan pail in the background.
Log Panel
Logs appear in real-time:
┌─────────────────────────────────────────────────┐
│ Logs 🔴 Live │
├─────────────────────────────────────────────────┤
│ INFO User logged in: john@example.com │
│ 2024-01-15 10:23:45 │
├─────────────────────────────────────────────────┤
│ DEBUG Cache hit: user_preferences_1 │
│ 2024-01-15 10:23:46 │
├─────────────────────────────────────────────────┤
│ ERROR Failed to send email │
│ Connection timed out │
│ 2024-01-15 10:23:47 │
└─────────────────────────────────────────────────┘Filtering Logs
By Level
Filter to show only certain severity levels:
Click level badges to filter: DEBUG | INFO | WARNING | ERRORBy Search
Use the search box to filter by content:
- Log message text
- Context data
- Stack traces
Log Context
Logs with context show expandable details:
INFO Order placed
├── order_id: 12345
├── user_id: 1
└── total: 99.99Click to expand and see full context.
Exception Logs
When exceptions are logged, you'll see:
ERROR Illuminate\Database\QueryException
SQLSTATE[42S02]: Table 'app.missing_table' doesn't exist
Stack trace:
#0 /app/Models/User.php:45
#1 /app/Http/Controllers/UserController.php:23
...Log Channels
Laradebug tails the default log channel.
Performance
Log tailing runs in a separate process and doesn't affect your Tinker execution. However, very high log volumes may impact display performance.
Pausing Logs
Click the pause button to stop updating the display while keeping the connection active.
Clearing Logs
Use the clear button to remove all displayed logs. This doesn't affect your actual log files.
Related Features
- Ray Integration — Debug with Ray
- Code Execution — Run code that generates logs