Skip to content

Commit

Permalink
EZP-29211: Fixed logs for missing cache items in the methods using Ab…
Browse files Browse the repository at this point in the history
…stractHandler::getMultipleCacheItems (ezsystems#2334)
  • Loading branch information
adamwojs authored and Łukasz Serwatka committed May 23, 2018
1 parent b8aa70a commit 8c12a2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eZ/Publish/Core/Persistence/Cache/ContentHandler.php
Expand Up @@ -102,7 +102,7 @@ public function loadContentInfoList(array $contentIds)
$contentIds,
'ez-content-info-',
function (array $cacheMissIds) {
$this->logger->logCall(__METHOD__, ['content' => $cacheMissIds]);
$this->logger->logCall(__CLASS__ . '::loadContentInfoList', ['content' => $cacheMissIds]);

return $this->persistenceHandler->contentHandler()->loadContentInfoList($cacheMissIds);
},
Expand Down
2 changes: 1 addition & 1 deletion eZ/Publish/Core/Persistence/Cache/ContentTypeHandler.php
Expand Up @@ -90,7 +90,7 @@ public function loadGroups(array $groupIds)
$groupIds,
'ez-content-type-group-',
function (array $cacheMissIds) {
$this->logger->logCall(__METHOD__, ['groups' => $cacheMissIds]);
$this->logger->logCall(__CLASS__ . '::loadGroups', ['groups' => $cacheMissIds]);

return $this->persistenceHandler->contentTypeHandler()->loadGroups($cacheMissIds);
},
Expand Down

0 comments on commit 8c12a2d

Please sign in to comment.