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>
This commit is contained in:
S. Cat 2019-02-28 09:55:46 +01:00 committed by Sébastien Cat
parent 381ae44d38
commit e3142a91b2
1 changed files with 1 additions and 1 deletions

View File

@ -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']);
}