]> git.mxchange.org Git - friendica.git/commitdiff
Changed log level
authorMichael <heluecht@pirati.ca>
Tue, 10 May 2022 01:14:27 +0000 (01:14 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 10 May 2022 01:14:27 +0000 (01:14 +0000)
src/Contact/Avatar.php

index a69ccdff850a885ebcf8908cb89aa39e99371fc1..9d06995ec5ab779689208ba02e8817bcdeedff5d 100644 (file)
@@ -129,13 +129,13 @@ class Avatar
                                }
                        } elseif (fileperms($dirpath) & 0777 != $dir_perm) {
                                if (!chmod($dirpath, $dir_perm)) {
-                                       Logger::warning('Directory permissions could not be changed', ['directory' => $dirpath]);
+                                       Logger::info('Directory permissions could not be changed', ['directory' => $dirpath]);
                                }
                        }
 
                        if (filegroup($dirpath) != $group) {
                                if (!chgrp($dirpath, $group)) {
-                                       Logger::warning('Directory group could not be changed', ['directory' => $dirpath]);
+                                       Logger::info('Directory group could not be changed', ['directory' => $dirpath]);
                                }
                        }
                }