Merge pull request #21319 from nextcloud/log-level-storage-test
increase log level for storage self-test
This commit is contained in:
commit
862e3250ff
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue