Skip to content

Commit

Permalink
Spelling mistake fix. Adding log to when the file is being uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasgrimm committed Mar 14, 2016
1 parent 9c57926 commit 4c33435
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Services/LogKeeperService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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);
Expand Down

0 comments on commit 4c33435

Please sign in to comment.