Skip to content

Commit 7b0776d

Browse files
committed
Debug elastcisearch8 connection
1 parent 2d55a06 commit 7b0776d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Setup/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function validate(): array
4444
echo "<pre>$output</pre>";
4545

4646

47-
$output = shell_exec("cat /var/log/elasticsearch/elasticsearch.log");
47+
$output = shell_exec("sudo cat /var/log/elasticsearch/elasticsearch.log");
4848
echo "<pre>$output</pre>";
4949

5050
$client = $this->clientResolver->create();

0 commit comments

Comments
 (0)