diff options
author | S. Cat <33800996+sparrowjack63@users.noreply.github.com> | 2019-02-28 11:55:46 +0300 |
---|---|---|
committer | Sébastien Cat <sebastien.cat@inra.fr> | 2019-03-01 13:28:54 +0300 |
commit | e3142a91b229d9f11b5df1f1b33dfe5d67b5f761 (patch) | |
tree | 411699d6be5c5c47f92917511514579f3efdbf6c | |
parent | 381ae44d38827d289f828094d065afcc8060fbbe (diff) |
Bucket name - Alert in debug mode
Alert in debug mode only when trying to mount non compatible DNS bucket name (in order to not flood the logs)
Signed-off-by: Sébastien Cat <sebastien.cat@inra.fr>
-rw-r--r-- | lib/private/Files/ObjectStore/S3ConnectionTrait.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConnectionTrait.php b/lib/private/Files/ObjectStore/S3ConnectionTrait.php index 7f983c48ad7..b2bb6d706e0 100644 --- a/lib/private/Files/ObjectStore/S3ConnectionTrait.php +++ b/lib/private/Files/ObjectStore/S3ConnectionTrait.php @@ -101,7 +101,7 @@ trait S3ConnectionTrait { if (!$this->connection->isBucketDnsCompatible($this->bucket)) { $logger = \OC::$server->getLogger(); - $logger->warning('Bucket "' . $this->bucket . '" This bucket name is not dns compatible, it may contain invalid characters.', + $logger->debug('Bucket "' . $this->bucket . '" This bucket name is not dns compatible, it may contain invalid characters.', ['app' => 'objectstore']); } |