From 51d46154ebe5bb57fec66d76107b8aca781baf5c Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Wed, 27 Jun 2012 14:13:14 +0200 Subject: [PATCH] fix logging message --- src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java | 2 +- src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java b/src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java index b743018b87d..c4baf7838ff 100644 --- a/src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java +++ b/src/main/java/org/elasticsearch/cloud/aws/AwsEc2Service.java @@ -101,7 +101,7 @@ public class AwsEc2Service extends AbstractLifecycleComponent { if (componentSettings.get("ec2.endpoint") != null) { String endpoint = componentSettings.get("ec2.endpoint"); - logger.debug("using explicit ec2 region [{}]", endpoint); + logger.debug("using explicit ec2 endpoint [{}]", endpoint); client.setEndpoint(endpoint); } else if (componentSettings.get("region") != null) { String region = componentSettings.get("region").toLowerCase(); diff --git a/src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java b/src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java index 7a4fe35db6d..87c5be7ea3f 100644 --- a/src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java +++ b/src/main/java/org/elasticsearch/cloud/aws/AwsS3Service.java @@ -92,7 +92,7 @@ public class AwsS3Service extends AbstractLifecycleComponent { if (componentSettings.get("s3.endpoint") != null) { String endpoint = componentSettings.get("s3.endpoint"); - logger.debug("using explicit s3 region [{}]", endpoint); + logger.debug("using explicit s3 endpoint [{}]", endpoint); client.setEndpoint(endpoint); } else if (componentSettings.get("region") != null) { String endpoint;