Skip to content

Commit

Permalink
Merge pull request #606 from CommonGateway/fix/less-log-spam
Browse files Browse the repository at this point in the history
Change 2 logs from warning to info
  • Loading branch information
WilcoLouwerse authored Sep 20, 2024
2 parents c12216a + 24b21d9 commit c0a438f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Service/CacheService.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private function setObjectClient(): void
$organization = $application->getOrganization();
}
} catch (Exception $e) {
$this->logger->warning('Cannot determine tennant from application: '.$e->getMessage());
$this->logger->info('Cannot determine tenant from application: '.$e->getMessage());
}

if ($organization !== null && $organization->getDatabase() !== null) {
Expand Down
2 changes: 1 addition & 1 deletion src/Service/EndpointService.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ private function getNormalPath(array $parameters): array
try {
$combinedArray = array_combine($path, explode('/', $pathRaw));
} catch (ValueError $exception) {
$this->logger->error('EndpointService->getNormalPath(): '.$exception->getMessage());
$this->logger->debug('EndpointService->getNormalPath(): '.$exception->getMessage());

// Todo: When an id is not given the last element of the path array should be removed to ensure the arrays are of the same length.
array_pop($path);
Expand Down

0 comments on commit c0a438f

Please sign in to comment.