In Laravel Telescope debug tool, in the "Requests" panel, is there a way to only log some requests, and not all requests ?
For instance, all requests except those with 200 or 302 status.
I tried to modify config/telescope.php file, especially that part
Watchers\RequestWatcher::class => [
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
]
But i didn't find any options about page status.
And I also tried modifying the TelescopeServiceProvider.php file, the register() method but without success.
Thank you for your help
Telescope allows you to search entries by "tag". Often, tags are Eloquent model class names or authenticated user IDs which Telescope automatically adds to entries. Occasionally, you may want to attach your own custom tags to entries. To accomplish this, you may use the
Telescope::tagmethod. The tag method accepts a closure which should return an array of tags. Thetagsreturned by the closure will be merged with any tags Telescope would automatically attach to the entry. Typically, you should call thetagmethod within theregistermethod of yourApp\Providers\TelescopeServiceProviderclass:You can also do the same with the
filtermethod instead of tag.