Commit f0d073a6 by Carsten Brandt

Improved elasticsearch trace message

parent 20d764e4
...@@ -369,7 +369,7 @@ class Connection extends Component ...@@ -369,7 +369,7 @@ class Connection extends Component
$profile = false; $profile = false;
} }
Yii::trace("Sending request to elasticsearch node: $url\n$requestBody", __METHOD__); Yii::trace("Sending request to elasticsearch node: $method $url\n$requestBody", __METHOD__);
if ($profile !== false) { if ($profile !== false) {
Yii::beginProfile($profile, __METHOD__); Yii::beginProfile($profile, __METHOD__);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment