From 8272352f9bccf8f67dbf25da5fd198db345dc804 Mon Sep 17 00:00:00 2001 From: Chris Strand Date: Sun, 11 Mar 2012 00:05:04 +0000 Subject: [PATCH] Log level of debug for the various parse methods --- .../compute/functions/ServerToNodeMetadata.java | 4 ++-- .../compute/functions/InstanceToNodeMetadata.java | 6 +++--- .../nova/compute/functions/ServerToNodeMetadata.java | 4 ++-- .../compute/functions/ServerDetailsToNodeMetadata.java | 2 +- .../gogrid/compute/functions/ServerToNodeMetadata.java | 6 +++--- .../miro/compute/functions/ServerToNodeMetadata.java | 4 ++-- .../slicehost/compute/functions/SliceToNodeMetadata.java | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apis/cloudservers/src/main/java/org/jclouds/cloudservers/compute/functions/ServerToNodeMetadata.java b/apis/cloudservers/src/main/java/org/jclouds/cloudservers/compute/functions/ServerToNodeMetadata.java index 856e952df6..dc8ee59659 100644 --- a/apis/cloudservers/src/main/java/org/jclouds/cloudservers/compute/functions/ServerToNodeMetadata.java +++ b/apis/cloudservers/src/main/java/org/jclouds/cloudservers/compute/functions/ServerToNodeMetadata.java @@ -123,7 +123,7 @@ public class ServerToNodeMetadata implements Function { try { return Iterables.find(hardwares.get(), new FindHardwareForServer(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching hardware for server %s", from); + logger.debug("could not find a matching hardware for server %s", from); } return null; } @@ -132,7 +132,7 @@ public class ServerToNodeMetadata implements Function { try { return Iterables.find(images.get(), new FindImageForServer(from)).getOperatingSystem(); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for server %s in location %s", from, location.get()); + logger.debug("could not find a matching image for server %s in location %s", from, location.get()); } return null; } diff --git a/apis/deltacloud/src/main/java/org/jclouds/deltacloud/compute/functions/InstanceToNodeMetadata.java b/apis/deltacloud/src/main/java/org/jclouds/deltacloud/compute/functions/InstanceToNodeMetadata.java index b50c3c9079..d3075d2dd7 100644 --- a/apis/deltacloud/src/main/java/org/jclouds/deltacloud/compute/functions/InstanceToNodeMetadata.java +++ b/apis/deltacloud/src/main/java/org/jclouds/deltacloud/compute/functions/InstanceToNodeMetadata.java @@ -98,7 +98,7 @@ public class InstanceToNodeMetadata implements Function try { return Iterables.find(hardwares.get(), new FindHardwareForInstance(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching hardware for instance %s", from); + logger.debug("could not find a matching hardware for instance %s", from); } return null; } @@ -107,7 +107,7 @@ public class InstanceToNodeMetadata implements Function try { return Iterables.find(images.get(), new FindImageForInstance(from)).getOperatingSystem(); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for instance %s", from); + logger.debug("could not find a matching image for instance %s", from); } return null; } @@ -129,7 +129,7 @@ public class InstanceToNodeMetadata implements Function try { return Iterables.find(locations.get(), new FindLocationForInstance(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching realm for instance %s", from); + logger.debug("could not find a matching realm for instance %s", from); } return null; } diff --git a/apis/nova/src/main/java/org/jclouds/openstack/nova/compute/functions/ServerToNodeMetadata.java b/apis/nova/src/main/java/org/jclouds/openstack/nova/compute/functions/ServerToNodeMetadata.java index ab609777f1..f89c2b5ea6 100644 --- a/apis/nova/src/main/java/org/jclouds/openstack/nova/compute/functions/ServerToNodeMetadata.java +++ b/apis/nova/src/main/java/org/jclouds/openstack/nova/compute/functions/ServerToNodeMetadata.java @@ -126,7 +126,7 @@ public class ServerToNodeMetadata implements Function { try { return Iterables.find(hardwares.get(), new FindHardwareForServer(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching hardware for server %s", from); + logger.debug("could not find a matching hardware for server %s", from); } return null; } @@ -135,7 +135,7 @@ public class ServerToNodeMetadata implements Function { try { return Iterables.find(images.get(), new FindImageForServer(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for server %s in location %s", from, location.get()); + logger.debug("could not find a matching image for server %s in location %s", from, location.get()); } return null; } diff --git a/labs/glesys/src/main/java/org/jclouds/glesys/compute/functions/ServerDetailsToNodeMetadata.java b/labs/glesys/src/main/java/org/jclouds/glesys/compute/functions/ServerDetailsToNodeMetadata.java index a52e052e9d..76edfb4057 100644 --- a/labs/glesys/src/main/java/org/jclouds/glesys/compute/functions/ServerDetailsToNodeMetadata.java +++ b/labs/glesys/src/main/java/org/jclouds/glesys/compute/functions/ServerDetailsToNodeMetadata.java @@ -127,7 +127,7 @@ public class ServerDetailsToNodeMetadata implements Function { try { image = Iterables.find(images.get(), new FindImageForServer(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for server %s", from); + logger.debug("could not find a matching image for server %s", from); } return image; } @@ -134,8 +134,8 @@ public class ServerToNodeMetadata implements Function { try { hardware = Iterables.find(hardwares.get(), new FindHardwareForServer(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching hardware for server %s", from); + logger.debug("could not find a matching hardware for server %s", from); } return hardware; } -} \ No newline at end of file +} diff --git a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/compute/functions/ServerToNodeMetadata.java b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/compute/functions/ServerToNodeMetadata.java index 9d07e215b1..ff6d27b1fd 100644 --- a/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/compute/functions/ServerToNodeMetadata.java +++ b/providers/rimuhosting/src/main/java/org/jclouds/rimuhosting/miro/compute/functions/ServerToNodeMetadata.java @@ -129,8 +129,8 @@ public class ServerToNodeMetadata implements Function { try { return Iterables.find(images.get(), new FindImageForServer(location, from)).getOperatingSystem(); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for server %s in location %s", from, location); + logger.debug("could not find a matching image for server %s in location %s", from, location); } return null; } -} \ No newline at end of file +} diff --git a/providers/slicehost/src/main/java/org/jclouds/slicehost/compute/functions/SliceToNodeMetadata.java b/providers/slicehost/src/main/java/org/jclouds/slicehost/compute/functions/SliceToNodeMetadata.java index b7e32a9ae4..f0f8c7837c 100644 --- a/providers/slicehost/src/main/java/org/jclouds/slicehost/compute/functions/SliceToNodeMetadata.java +++ b/providers/slicehost/src/main/java/org/jclouds/slicehost/compute/functions/SliceToNodeMetadata.java @@ -129,7 +129,7 @@ public class SliceToNodeMetadata implements Function { try { return Iterables.find(hardwares.get(), new FindHardwareForSlice(from)); } catch (NoSuchElementException e) { - logger.warn("could not find a matching hardware for slice %s", from); + logger.debug("could not find a matching hardware for slice %s", from); } return null; } @@ -138,7 +138,7 @@ public class SliceToNodeMetadata implements Function { try { return Iterables.find(images.get(), new FindImageForSlice(from)).getOperatingSystem(); } catch (NoSuchElementException e) { - logger.warn("could not find a matching image for slice %s in location %s", from, location); + logger.debug("could not find a matching image for slice %s in location %s", from, location); } return null; }