Skip to content

Commit 83be597

Browse files
committed
fix: group imip log messages by removing principal and uri
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent dc48b6b commit 83be597

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/private/Calendar/Manager.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,10 @@ public function handleIMipReply(
403403
}
404404

405405
if (empty($found)) {
406-
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
406+
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar', [
407+
'principalUri' => $principalUri,
408+
'eventUid' => $vEvent->{'UID'}->getValue(),
409+
]);
407410
return false;
408411
}
409412

@@ -518,7 +521,10 @@ public function handleIMipCancel(
518521
}
519522

520523
if (empty($found)) {
521-
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar ' . $principalUri . 'and UID' . $vEvent->{'UID'}->getValue());
524+
$this->logger->warning('iMip message event could not be processed because no corresponding event was found in any calendar', [
525+
'principalUri' => $principalUri,
526+
'eventUid' => $vEvent->{'UID'}->getValue(),
527+
]);
522528
return false;
523529
}
524530

0 commit comments

Comments
 (0)