Skip to content

Commit

Permalink
Merge pull request #33212 from owncloud/stable10-wrapper-debug
Browse files Browse the repository at this point in the history
[stable10] Move "Storage wrapper" from warning to debug
  • Loading branch information
Vincent Petry authored Oct 17, 2018
2 parents 097922c + a2301fb commit ee40d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Filesystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static function logWarningWhenAddingStorageWrapper($shouldLog) {
*/
public static function addStorageWrapper($wrapperName, $wrapper, $priority = 50) {
if (self::$logWarningWhenAddingStorageWrapper) {
\OC::$server->getLogger()->warning("Storage wrapper '{wrapper}' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.", [
\OC::$server->getLogger()->debug("Storage wrapper '{wrapper}' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems.", [
'wrapper' => $wrapperName,
'app' => 'filesystem',
]);
Expand Down

0 comments on commit ee40d83

Please sign in to comment.