brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [3/4] git commit: demote CatalogDto "warning" to debug; we sometimes validly pass empty DTO's from rebind
Date Fri, 17 Oct 2014 14:36:11 GMT
demote CatalogDto "warning" to debug; we sometimes validly pass empty DTO's from rebind


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/88ce44a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/88ce44a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/88ce44a8

Branch: refs/heads/master
Commit: 88ce44a8fe311e99220b843c381a7f2caafec156
Parents: e3bde8a
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Fri Oct 17 14:43:44 2014 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Fri Oct 17 14:43:44 2014 +0100

----------------------------------------------------------------------
 core/src/main/java/brooklyn/catalog/internal/CatalogDto.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/88ce44a8/core/src/main/java/brooklyn/catalog/internal/CatalogDto.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/catalog/internal/CatalogDto.java b/core/src/main/java/brooklyn/catalog/internal/CatalogDto.java
index c4e08b1..fd74122 100644
--- a/core/src/main/java/brooklyn/catalog/internal/CatalogDto.java
+++ b/core/src/main/java/brooklyn/catalog/internal/CatalogDto.java
@@ -134,7 +134,7 @@ public class CatalogDto {
                 contents = ResourceUtils.create().getResourceAsString(url);
                 contentsDescription = url;
             } else if (contentsDescription==null) {
-                LOG.warn("Catalog DTO has no contents and no description; ignoring call to
populate it. Description should be set to suppress this warning.");
+                LOG.debug("Catalog DTO has no contents and no description; ignoring call
to populate it. Description should be set to suppress this message.");
                 return;
             } else {
                 LOG.debug("Nothing needs doing (no contents or URL) for catalog with contents
described as "+contentsDescription+".");


Mime
View raw message