Skip to content

Commit

Permalink
Merge pull request #29 from flownative/task/28-log-level-tweak
Browse files Browse the repository at this point in the history
Demote message about skipped import to debug level
  • Loading branch information
kitsunet authored Dec 2, 2021
2 parents 51bbd19 + 1a9578d commit fe93774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/GcsStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@ protected function importTemporaryFile(string $temporaryPathAndFilename, string
throw $exception;
}

$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__));
$this->logger->debug(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 fe93774

Please sign in to comment.