How to log 404 errors in Laravel 10?
Laravel doesn't log 404 errors by default. I want to change this behavior. Most guides say to log it manually in the following block : public function register(): void { $this->reportable(function (Throwable $e) { // Handle 404 here }); }…