Loglevels are adjusted

This commit is contained in:
Michael
2022-08-30 19:45:30 +00:00
parent 312e4d8844
commit 757a5c2de9
32 changed files with 93 additions and 111 deletions

View File

@@ -103,12 +103,12 @@ class Delivery
DBA::close($itemdata);
if (empty($target_item)) {
Logger::notice('Item ' . $target_id . "wasn't found. Quitting here.");
Logger::warning('Item ' . $target_id . "wasn't found. Quitting here.");
return;
}
if (empty($parent)) {
Logger::notice('Parent ' . $parent_id . ' for item ' . $target_id . "wasn't found. Quitting here.");
Logger::warning('Parent ' . $parent_id . ' for item ' . $target_id . "wasn't found. Quitting here.");
self::setFailedQueue($cmd, $target_item);
return;
}
@@ -182,7 +182,7 @@ class Delivery
}
if (empty($items)) {
Logger::notice('No delivery data', ['command' => $cmd, 'uri-id' => $post_uriid, 'cid' => $contact_id]);
Logger::warning('No delivery data', ['command' => $cmd, 'uri-id' => $post_uriid, 'cid' => $contact_id]);
}
$owner = Model\User::getOwnerDataById($uid);
@@ -432,7 +432,7 @@ class Delivery
Logger::notice('diaspora status: ' . $loc);
$deliver_status = Diaspora::sendStatus($target_item, $owner, $contact, $public_message);
} else {
Logger::notice('Unknown mode ' . $cmd . ' for ' . $loc);
Logger::warning('Unknown mode', ['command' => $cmd, 'target' => $loc]);
return;
}