Skip to content

Commit

Permalink
Demote message about skipped import to debug level
Browse files Browse the repository at this point in the history
Fixes #28
  • Loading branch information
kdambekalns authored Dec 1, 2021
1 parent 51bbd19 commit f765c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/GcsStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ protected function importTemporaryFile(string $temporaryPathAndFilename, string

$this->logger->info(sprintf('Google Cloud Storage: Successfully imported resource as object "%s" into bucket "%s" with SHA1 hash "%s"', $sha1Hash, $this->bucketName, $resource->getSha1() ?: 'unknown'), LogEnvironment::fromMethodName(__METHOD__));
} else {
$this->logger->info(sprintf('Google Cloud Storage: Did not import resource as object "%s" into bucket "%s" because that object already existed.', $sha1Hash, $this->bucketName), LogEnvironment::fromMethodName(__METHOD__));
$this->logger->debug(sprintf('Google Cloud Storage: Did not import resource as object "%s" into bucket "%s" because that object already existed.', $sha1Hash, $this->bucketName), LogEnvironment::fromMethodName(__METHOD__));
}

return $resource;
Expand Down

0 comments on commit f765c9f

Please sign in to comment.