DEV Community

Abiruzzaman Molla
Abiruzzaman Molla

Posted on

๐Ÿ”Ž New VS Code Extension: Laravel Log Watcher (Real-Time Notifications for Log File Changes)

Hey devs! ๐Ÿ‘‹

If you've ever been buried deep in Laravel debugging and got tired of switching back and forth to check storage/logs/laravel.log, this oneโ€™s for you.

I just published a new VS Code extension:

๐Ÿ”— Laravel Log Watcher โ€“ VS Code Marketplace


๐Ÿš€ What It Does

Laravel Log Watcher is a lightweight VS Code extension that watches your Laravel log file and pops up a toast notification whenever it changes.

No need to reopen or manually tail your log files anymore.


โš™๏ธ Features

โœ… Real-time watching of Laravel logs
๐Ÿ”” Customizable notifications
๐Ÿ› ๏ธ Set your log file path (relative or absolute)
๐ŸŽš๏ธ Toggle watcher on/off via command

๐Ÿง˜ Zero distractions โ€“ it works quietly in the background

๐Ÿงช Use Case

Imagine this: you're debugging an API controller. Instead of tailing the log in a separate terminal or reopening the log file 20 times a minute...

With this extension, VS Code simply notifies you when something hits the log. That's it. Simple. Helpful. Seamless.


๐Ÿ”ง Setup

  1. Install from Marketplace
  2. Configure your log path (if different):
   "laravelLogWatcher.logFilePath": "storage/logs/laravel.log",
   "laravelLogWatcher.notificationMessage": "Laravel log updated!",
   "laravelLogWatcher.enabled": true
Enter fullscreen mode Exit fullscreen mode
  1. Run Toggle Laravel Log Watcher from the Command Palette to enable or disable at any time.

๐Ÿ”ฎ Coming Soon

Iโ€™m planning to add:

  • โœ… Log tailing panel (live view)
  • โœ… Severity detection (error, warning, info)
  • โœ… Status bar toggler

๐Ÿ’ฌ Feedback Wanted

If you try it out, Iโ€™d love to hear your thoughts, feature ideas, or bug reports.
Open an issue or star the repo on GitHub:
๐Ÿ”— https://github.com/AbiruzzamanMolla/laravel-log-watcher


๐Ÿ™Œ Thanks

This is a small weekend tool I built scratching my own itch as a Laravel developer.
Hope it helps you too! ๐Ÿš€

Top comments (0)