From 5dcf2d00b79618a71eedb4cca640d6df2ffd603f Mon Sep 17 00:00:00 2001 From: guicamest Date: Fri, 3 Nov 2023 15:01:31 +0100 Subject: [PATCH] log(S3FileSystem): Use scheme of the provider instead of `s3` (#256) --- src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java b/src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java index b020d6dd..17b9dc45 100644 --- a/src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java +++ b/src/main/java/software/amazon/nio/spi/s3/S3FileSystem.java @@ -58,7 +58,7 @@ public class S3FileSystem extends FileSystem { configuration = (config == null) ? new S3NioSpiConfiguration() : config; bucketName = configuration.getBucketName(); - logger.debug("creating FileSystem for 's3://{}'", bucketName); + logger.debug("creating FileSystem for '{}://{}'", provider.getScheme(), bucketName); clientProvider = new S3ClientProvider(configuration); this.provider = provider;