From 4c33435d1f7f305663ec088268fb12200248b4f2 Mon Sep 17 00:00:00 2001 From: Mathias Grimm Date: Mon, 14 Mar 2016 11:33:24 +0000 Subject: [PATCH] Spelling mistake fix. Adding log to when the file is being uploaded --- src/Services/LogKeeperService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);