Skip to content

Commit

Permalink
Updated config example
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemillers committed May 8, 2018
1 parent 162c218 commit 859fe5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Expand Up @@ -126,6 +126,12 @@ $connection = Connection::create([
// 'handler' => new MyCustomHandler(),

'index' => 'my_index',

'logging' => [
'enabled' => env('ELASTIC_LOGGING_ENABLED',false),
'level' => env('ELASTIC_LOGGING_LEVEL','all'),
'location' => env('ELASTIC_LOGGING_LOCATION',base_path('storage/logs/elasticsearch.log'))
],
]);


Expand Down

0 comments on commit 859fe5d

Please sign in to comment.