mirror of
https://github.com/friendica/friendica
synced 2025-04-22 19:10:12 +00:00
Improve Logger calls
- Add context in various calls - Remove deprecated Logger::log call in Processor
This commit is contained in:
parent
cb78e77850
commit
67aa188830
5 changed files with 29 additions and 11 deletions
|
@ -276,7 +276,7 @@ class Processor
|
|||
/// @todo What to do with $activity['context']?
|
||||
|
||||
if (($item['gravity'] != GRAVITY_PARENT) && !Item::exists(['uri' => $item['thr-parent']])) {
|
||||
Logger::log('Parent ' . $item['thr-parent'] . ' not found, message will be discarded.', Logger::DEBUG);
|
||||
Logger::info('Parent not found, message will be discarded.', ['thr-parent' => $item['thr-parent']]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue