[cleanup] Change Logger factory
Related to #52 (cherry picked from commit a6435ab) (cherry picked from commit f82ee58)
This commit is contained in:
parent
3afe59ff69
commit
68fdedf91d
|
@ -27,7 +27,7 @@ import org.elasticsearch.common.blobstore.BlobPath;
|
||||||
import org.elasticsearch.common.blobstore.support.AbstractBlobContainer;
|
import org.elasticsearch.common.blobstore.support.AbstractBlobContainer;
|
||||||
import org.elasticsearch.common.collect.ImmutableMap;
|
import org.elasticsearch.common.collect.ImmutableMap;
|
||||||
import org.elasticsearch.common.logging.ESLogger;
|
import org.elasticsearch.common.logging.ESLogger;
|
||||||
import org.elasticsearch.common.logging.ESLoggerFactory;
|
import org.elasticsearch.common.logging.Loggers;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -41,7 +41,7 @@ import java.net.URISyntaxException;
|
||||||
*/
|
*/
|
||||||
public class AzureBlobContainer extends AbstractBlobContainer {
|
public class AzureBlobContainer extends AbstractBlobContainer {
|
||||||
|
|
||||||
protected final ESLogger logger = ESLoggerFactory.getLogger(AzureBlobContainer.class.getName());
|
protected final ESLogger logger = Loggers.getLogger(AzureBlobContainer.class);
|
||||||
protected final AzureBlobStore blobStore;
|
protected final AzureBlobStore blobStore;
|
||||||
|
|
||||||
protected final String keyPath;
|
protected final String keyPath;
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.elasticsearch.cloud.azure.AzureModule;
|
||||||
import org.elasticsearch.common.collect.Lists;
|
import org.elasticsearch.common.collect.Lists;
|
||||||
import org.elasticsearch.common.inject.Module;
|
import org.elasticsearch.common.inject.Module;
|
||||||
import org.elasticsearch.common.logging.ESLogger;
|
import org.elasticsearch.common.logging.ESLogger;
|
||||||
import org.elasticsearch.common.logging.ESLoggerFactory;
|
import org.elasticsearch.common.logging.Loggers;
|
||||||
import org.elasticsearch.common.settings.Settings;
|
import org.elasticsearch.common.settings.Settings;
|
||||||
import org.elasticsearch.plugins.AbstractPlugin;
|
import org.elasticsearch.plugins.AbstractPlugin;
|
||||||
import org.elasticsearch.repositories.RepositoriesModule;
|
import org.elasticsearch.repositories.RepositoriesModule;
|
||||||
|
@ -38,7 +38,7 @@ import java.util.Collection;
|
||||||
public class CloudAzurePlugin extends AbstractPlugin {
|
public class CloudAzurePlugin extends AbstractPlugin {
|
||||||
|
|
||||||
private final Settings settings;
|
private final Settings settings;
|
||||||
private final ESLogger logger = ESLoggerFactory.getLogger(CloudAzurePlugin.class.getName());
|
protected final ESLogger logger = Loggers.getLogger(CloudAzurePlugin.class);
|
||||||
|
|
||||||
public CloudAzurePlugin(Settings settings) {
|
public CloudAzurePlugin(Settings settings) {
|
||||||
this.settings = settings;
|
this.settings = settings;
|
||||||
|
|
Loading…
Reference in New Issue