diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-17 17:26:27 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-03-24 16:21:25 +0100 |
commit | ea23523c70ee562092510ccf88e7aa469aae9ce6 (patch) | |
tree | da0ce15036d2f7b82ef1a0e44adb497c8e951cb3 /lib/private/Files/ObjectStore | |
parent | eb961e47003ee5b6d7328caf10ecd5f53cc93666 (diff) | |
download | nextcloud-server-ea23523c70ee562092510ccf88e7aa469aae9ce6.tar.gz nextcloud-server-ea23523c70ee562092510ccf88e7aa469aae9ce6.zip |
Adapt more code to migration to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/ObjectStore')
-rw-r--r-- | lib/private/Files/ObjectStore/Swift.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/Swift.php b/lib/private/Files/ObjectStore/Swift.php index a3c8d92f3d2..b463cb9d44d 100644 --- a/lib/private/Files/ObjectStore/Swift.php +++ b/lib/private/Files/ObjectStore/Swift.php @@ -32,6 +32,7 @@ use Icewind\Streams\RetryWrapper; use OCP\Files\NotFoundException; use OCP\Files\ObjectStore\IObjectStore; use OCP\Files\StorageAuthException; +use Psr\Log\LoggerInterface; const SWIFT_SEGMENT_SIZE = 1073741824; // 1GB @@ -48,7 +49,7 @@ class Swift implements IObjectStore { $this->swiftFactory = $connectionFactory ?: new SwiftFactory( \OC::$server->getMemCacheFactory()->createDistributed('swift::'), $params, - \OC::$server->getLogger() + \OC::$server->get(LoggerInterface::class) ); $this->params = $params; } |