Skip to content

Commit 77dd1ab

Browse files
committed
Changing message handling log levels to higher levels
1 parent 169a8e6 commit 77dd1ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Worker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function run()
9999

100100
$retryCount = $this->getRetryCount($envelope) + 1;
101101
if (null !== $this->logger) {
102-
$this->logger->info('Retrying {class} - retry #{retryCount}.', $context + ['retryCount' => $retryCount, 'error' => $throwable]);
102+
$this->logger->error('Retrying {class} - retry #{retryCount}.', $context + ['retryCount' => $retryCount, 'error' => $throwable]);
103103
}
104104

105105
// add the delay and retry stamp info + remove ReceivedStamp
@@ -113,7 +113,7 @@ public function run()
113113
$this->receiver->ack($envelope);
114114
} else {
115115
if (null !== $this->logger) {
116-
$this->logger->info('Rejecting {class} (removing from transport).', $context + ['error' => $throwable]);
116+
$this->logger->critical('Rejecting {class} (removing from transport).', $context + ['error' => $throwable]);
117117
}
118118

119119
$this->receiver->reject($envelope);

0 commit comments

Comments
 (0)