Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9153c48

Browse filesBrowse files
committed
Changing message handling log levels to higher levels
1 parent 162d5a8 commit 9153c48
Copy full SHA for 9153c48

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Messenger/Worker.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Worker.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.