Configuring (and viewing!) logs in Laravel @aarondfrancis
Configuring (and viewing!) logs in Laravel  @aarondfrancis
Uploaded September 2024 | Updated September 2026, 2 hours ago
In this video, I explore the various ways to configure logging in your Laravel application, from simple file-based logging to more advanced tools like Laravel Telescope, Sentry, and more. Whether you're debugging locally or tracking errors in production, Laravel's flexible logging system has you covered with multiple drivers and configurations to fit your needs.

You can read this as a blog post at aaronfrancis.com/2024/configuring-and-viewing-logs-in-laravel-91cf1ec3.

Featured in this episode:
- Docs: laravel.com/docs/11.x/logging#main-content
- Herd: herd.laravel.com
- Sentry: sentry.io/welcome
- Flare: flareapp.io

Follow me:
Twitter: twitter.com/aarondfrancis
LinkedIn: linkedin.com/in/aarondfrancis
Website: aaronfrancis.com - find articles, podcasts, courses, and more.

Chapters:
00:00 - Introduction to Laravel Logging
00:26 - Basic File Logging Setup
01:05 - Understanding Log Channels and Configuration
02:57 - Setting Log Levels and Channel Types
03:50 - Viewing Logs in a File
04:31 - Using Tail Command to Follow Logs
05:15 - Installing and Using Laravel Pail for Log Viewing
06:04 - Creating an Error Log Example
06:57 - Reviewing Other Logging Options - Telescope, Ray
09:42 - Configuring Stack Log Channels
10:40 - Sentry Log Channel
10:57 - How to Combine Multiple Log Channels in a Stack
12:10 - Final Thoughts on Logging Configuration in Laravel
Configuring (and viewing!) logs in LaravelBuilding a TUIHacking the Laravel routerWhat exactly is a Durable Object?The Music Makers Podcast - 019 - Work vs LifeSSG is dead. Long live cache.Programming by wishful thinkingOffline-first, multiplayer SQLiteLivecoding: create a podcast from YouTube videosOpen source workBuilding a new Laravel dev runner (as a TUI)Laravel Serializable Closure: serialize the unserializable
Aaron Francis |

Configuring (and viewing!) logs in Laravel

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER