Skip to content

Commit 859fe5d

Browse files
committed
Updated config example
1 parent 162c218 commit 859fe5d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ $connection = Connection::create([
126126
// 'handler' => new MyCustomHandler(),
127127

128128
'index' => 'my_index',
129+
130+
'logging' => [
131+
'enabled' => env('ELASTIC_LOGGING_ENABLED',false),
132+
'level' => env('ELASTIC_LOGGING_LEVEL','all'),
133+
'location' => env('ELASTIC_LOGGING_LOCATION',base_path('storage/logs/elasticsearch.log'))
134+
],
129135
]);
130136

131137

0 commit comments

Comments
 (0)