]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Merge pull request #11973 from MrPetovan/task/test-fixDateFormat
[friendica.git] / mod / tagger.php
index e674efba698a567a66398eb8dc8c2ccccd6aaee4..e0d95ce662ff4fe928b8ae37d1010b3724c21581 100644 (file)
@@ -51,7 +51,7 @@ function tagger_content(App $a) {
 
        $item_id = ((DI::args()->getArgc() > 1) ? trim(DI::args()->getArgv()[1]) : 0);
 
-       Logger::notice('tagger: tag ' . $term . ' item ' . $item_id);
+       Logger::info('tagger: tag', ['term' =>  $term, 'item' => $item_id]);
 
 
        $item = Post::selectFirst([], ['id' => $item_id]);
@@ -69,7 +69,7 @@ function tagger_content(App $a) {
 
        $contact = Contact::selectFirst([], ['self' => true, 'uid' => local_user()]);
        if (!DBA::isResult($contact)) {
-               Logger::notice('tagger: no contact_id');
+               Logger::warning('Self contact not found.', ['uid' => local_user()]);
                return;
        }