Skip to content

Commit 4c33435

Browse files
committed
Spelling mistake fix. Adding log to when the file is being uploaded
1 parent 9c57926 commit 4c33435

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Services/LogKeeperService.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ private function localWork()
9393

9494
$this->localRepo->compress($log, $compressedName);
9595
$content = $this->localRepo->get($compressedName);
96+
97+
$this->logger->info("Uploading {$compressedName}");
9698
$this->remoteRepo->put($compressedName, $content);
9799

98100
$this->logger->info("Deleting $compressedName locally");
@@ -104,7 +106,7 @@ private function localWork()
104106
$this->logger->info("Not uploading {$compressedName} because enabled_remote is false");
105107
}
106108
} elseif (($days > $this->localRetentionDays) && ($days > $this->remoteRetentionDaysCalculated)) {
107-
$this->logger->info("Deleting {$log} because it is to old to be kept either local our remotely");
109+
$this->logger->info("Deleting {$log} because it is to old to be kept either local or remotely");
108110

109111
// file too old to be stored either remotely or locally
110112
$this->localRepo->delete($log);

0 commit comments

Comments
 (0)