]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Merge pull request #11973 from MrPetovan/task/test-fixDateFormat
[friendica.git] / mod / photos.php
index 8244ac2b81ea67c37e7c420de68da2a47f3c4c9b..6a4596bf2427616f8030383a14f521d7062ae9d0 100644 (file)
@@ -678,14 +678,14 @@ function photos_post(App $a)
                return;
        }
 
-       Logger::info('loading the contents of ' . $src);
+       Logger::debug('loading contents', ['src' => $src]);
 
        $imagedata = @file_get_contents($src);
 
        $image = new Image($imagedata, $type);
 
        if (!$image->isValid()) {
-               Logger::info('unable to process image');
+               Logger::notice('unable to process image');
                notice(DI::l10n()->t('Unable to process image.'));
                @unlink($src);
                $foo = 0;