diff --git a/src/Services/LogKeeperService.php b/src/Services/LogKeeperService.php index 4bd1fe4..e17f57d 100644 --- a/src/Services/LogKeeperService.php +++ b/src/Services/LogKeeperService.php @@ -93,6 +93,8 @@ private function localWork() $this->localRepo->compress($log, $compressedName); $content = $this->localRepo->get($compressedName); + + $this->logger->info("Uploading {$compressedName}"); $this->remoteRepo->put($compressedName, $content); $this->logger->info("Deleting $compressedName locally"); @@ -104,7 +106,7 @@ private function localWork() $this->logger->info("Not uploading {$compressedName} because enabled_remote is false"); } } elseif (($days > $this->localRetentionDays) && ($days > $this->remoteRetentionDaysCalculated)) { - $this->logger->info("Deleting {$log} because it is to old to be kept either local our remotely"); + $this->logger->info("Deleting {$log} because it is to old to be kept either local or remotely"); // file too old to be stored either remotely or locally $this->localRepo->delete($log);