Merge pull request #21319 from nextcloud/log-level-storage-test

increase log level for storage self-test
This commit is contained in:
Roeland Jago Douma 2020-06-09 13:11:36 +02:00 committed by GitHub
commit 862e3250ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -461,8 +461,8 @@ abstract class Common implements Storage, ILockingStorage, IWriteStreamStorage {
\OC::$server->getLogger()->info("External storage not available: stat() failed");
return false;
} catch (\Exception $e) {
\OC::$server->getLogger()->info("External storage not available: " . $e->getMessage());
\OC::$server->getLogger()->logException($e, ['level' => ILogger::DEBUG]);
\OC::$server->getLogger()->warning("External storage not available: " . $e->getMessage());
\OC::$server->getLogger()->logException($e, ['level' => ILogger::WARN]);
return false;
}
}