diff --git a/includes/DeployEndpoint.inc b/includes/DeployEndpoint.inc index 5b105a1..6527096 100644 --- a/includes/DeployEndpoint.inc +++ b/includes/DeployEndpoint.inc @@ -149,13 +149,13 @@ class DeployEndpoint { * Usually this will be an object from a subclass of DeployAggregatorBase. */ public function log_deployed_entities($deployment_key, Traversable $iterator) { - $message = t('Deployed entities:
'); - $items = $iterator->getEntities(); - foreach ($items as $key => $item) { - $message .= $item['type'] . ': ' . $item['id'] . '
'; + $entities = []; + foreach ($iterator->getEntities() as $key => $item) { + $entities[] = $item['type'] . ': ' . $item['id']; } - $message .= '
'; - $message .= t('Deployement UUID: %deploy_key', array('%deploy_key' => $deployment_key)); - watchdog('deployed_content', $message); + watchdog('deployed_content', 'Deployed %deploy_key with entities:
%entities', array( + '%deploy_key' => $deployment_key, + '%entities' => implode(', ', $entities), + )); } }