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. Featured in this episode: - Docs: #main-content - Herd: - Sentry: - Flare: Follow me: Twitter: LinkedIn: Website: - 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
Hide player controls
Hide resume playing