diff --git a/tools/vfs/pom.xml b/tools/vfs/pom.xml index cd28c08926..2dd27b97a7 100644 --- a/tools/vfs/pom.xml +++ b/tools/vfs/pom.xml @@ -20,19 +20,20 @@ org.apache.commons commons-vfs 2.0-SNAPSHOT - - - commons-httpclient - commons-httpclient - - - + + commons-logging commons-logging 1.1 + + commons-httpclient + commons-httpclient + 3.1 + + org.apache.commons commons-vfs diff --git a/tools/vfs/src/main/java/org/jclouds/vfs/provider/blobstore/BlobStoreFileProvider.java b/tools/vfs/src/main/java/org/jclouds/vfs/provider/blobstore/BlobStoreFileProvider.java index 46b705e355..10b32d29f1 100644 --- a/tools/vfs/src/main/java/org/jclouds/vfs/provider/blobstore/BlobStoreFileProvider.java +++ b/tools/vfs/src/main/java/org/jclouds/vfs/provider/blobstore/BlobStoreFileProvider.java @@ -44,6 +44,7 @@ import org.jclouds.blobstore.BlobStore; import org.jclouds.blobstore.BlobStoreContextFactory; import org.jclouds.domain.Credentials; import org.jclouds.http.HttpUtils; +import org.jclouds.logging.log4j.config.Log4JLoggingModule; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; @@ -67,7 +68,7 @@ public class BlobStoreFileProvider extends AbstractOriginatingFileProvider { private final Iterable modules; public BlobStoreFileProvider() { - this(ImmutableList. of()); + this(ImmutableList. of(new Log4JLoggingModule())); } public BlobStoreFileProvider(Iterable modules) { diff --git a/tools/vfs/src/test/java/org/jclouds/vfs/provider/blobstore/test/BlobStoreProviderTestCase.java b/tools/vfs/src/test/java/org/jclouds/vfs/provider/blobstore/test/BlobStoreProviderTestCase.java index 8248765818..a178bcbd1c 100644 --- a/tools/vfs/src/test/java/org/jclouds/vfs/provider/blobstore/test/BlobStoreProviderTestCase.java +++ b/tools/vfs/src/test/java/org/jclouds/vfs/provider/blobstore/test/BlobStoreProviderTestCase.java @@ -58,7 +58,7 @@ public class BlobStoreProviderTestCase extends AbstractProviderTestConfig { */ public void prepare(final DefaultFileSystemManager manager) throws Exception { manager.addProvider("blobstore", new BlobStoreFileProvider(ImmutableList - .of(new Log4JLoggingModule()))); + . of(new Log4JLoggingModule()))); } /**