]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/Delivery.php
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / src / Worker / Delivery.php
index 923f665b5e20339edcafa5c8ee7ab2015ab110e8..db7b8c26a5352cea62941e6bac699a954dd734fb 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -183,7 +183,7 @@ class Delivery
                }
 
                if (empty($items)) {
-                       Logger::log('No delivery data for  ' . $cmd . ' - Item ID: ' .$target_id . ' - Contact ID: ' . $contact_id);
+                       Logger::notice('No delivery data', ['command' => $cmd, 'uri-id' => $post_uriid, 'cid' => $contact_id]);
                }
 
                $owner = Model\User::getOwnerDataById($uid);
@@ -221,7 +221,7 @@ class Delivery
                        $contact['network'] = Protocol::DFRN;
                }
 
-               Logger::notice('Delivering', ['cmd' => $cmd, 'target' => $target_id, 'followup' => $followup, 'network' => $contact['network']]);
+               Logger::notice('Delivering', ['cmd' => $cmd, 'uri-id' => $post_uriid, 'followup' => $followup, 'network' => $contact['network']]);
 
                switch ($contact['network']) {
                        case Protocol::DFRN: