Skip to content

Commit

Permalink
Updated logging driver settings to sensible defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiergummi committed May 14, 2024
1 parent 0733100 commit da7b8f8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,26 @@
declare(strict_types=1);

return [

/*
|--------------------------------------------------------------------------
| Elasticsearch Log Channel
|--------------------------------------------------------------------------
|
| Here you may configure the log channel for your Elasticsearch client.
| This allows you to customize the logging output for Elasticsearch, or
| disable it entirely if you don't want any log events at all.
| By default, the Elasticsearch channel will log to the same output as
| the stack channel, which is usually the application's log file.
|
*/
'channels' => [
'elasticsearch' => [
'driver' => 'stack',
'channels' => ['stack'],
'name' => 'elasticsearch',
'level' => 'warning',
'ignore_exceptions' => false,
'level' => 'info',
],
],
];

0 comments on commit da7b8f8

Please sign in to comment.