Skip to content

Commit

Permalink
Fix logger placeholder syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Juhani-moilanen committed Jan 16, 2023
1 parent 8e7ce5c commit a3429a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UpdatesLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function logDiff(array $statuses): void {
catch (\Exception $exception) {
$json = $exception->getMessage();
}
$this->logger->info('updates_log={placeholder}', ["placeholder" => $json]);
$this->logger->info('updates_log=@placeholder', ["@placeholder" => $json]);
}
}

Expand Down Expand Up @@ -346,7 +346,7 @@ public function logStatistics(array $statistics): void {
catch (\Exception $exception) {
$json = $exception->getMessage();
}
$this->logger->info('updates_log_statistics={placeholder}', ["placeholder" => $json]);
$this->logger->info('updates_log_statistics=@placeholder', ["@placeholder" => $json]);
}

/**
Expand Down

0 comments on commit a3429a5

Please sign in to comment.