Skip to content

Commit

Permalink
[4.x] Documents Telescope's log level (#8607)
Browse files Browse the repository at this point in the history
* Documents Telescope's log `level`

* Update telescope.md

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
nunomaduro and taylorotwell committed Feb 22, 2023
1 parent 7cfd23b commit 2e062ca
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions telescope.md
Expand Up @@ -337,6 +337,17 @@ The job watcher records the data and status of any [jobs](/docs/{{version}}/queu

The log watcher records the [log data](/docs/{{version}}/logging) for any logs written by your application.

By default, Telescope will only record logs at the `error` level and above. However, you can modify the `level` option in your application's `config/telescope.php` configuration file to modify this behavior:

'watchers' => [
Watchers\LogWatcher::class => [
'enabled' => env('TELESCOPE_LOG_WATCHER', true),
'level' => 'debug',
],

// ...
],

<a name="mail-watcher"></a>
### Mail Watcher

Expand Down

0 comments on commit 2e062ca

Please sign in to comment.