You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2015/08/11 22:42:46 UTC
[08/18] incubator-brooklyn git commit: Tidy Machines.java logging
Tidy Machines.java logging
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/92063d90
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/92063d90
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/92063d90
Branch: refs/heads/master
Commit: 92063d902eb09a54f7e5e0cc095249e684156b05
Parents: 0c52d9c
Author: Aled Sage <al...@gmail.com>
Authored: Fri May 1 20:17:04 2015 +0100
Committer: Aled Sage <al...@gmail.com>
Committed: Tue Aug 11 20:04:28 2015 +0100
----------------------------------------------------------------------
core/src/main/java/brooklyn/location/basic/Machines.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/92063d90/core/src/main/java/brooklyn/location/basic/Machines.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/brooklyn/location/basic/Machines.java b/core/src/main/java/brooklyn/location/basic/Machines.java
index 7c143a8..38e99d9 100644
--- a/core/src/main/java/brooklyn/location/basic/Machines.java
+++ b/core/src/main/java/brooklyn/location/basic/Machines.java
@@ -51,7 +51,7 @@ public class Machines {
InetAddress addr = ((MachineLocation) where).getAddress();
if (addr != null) hostname = addr.getHostAddress();
}
- log.debug("computed hostname {} for {}", hostname, where);
+ log.debug("computed subnet hostname {} for {}", hostname, where);
// TODO if Maybe.absent(message) appears, could/should use that
// TODO If no machine available, should we throw new IllegalStateException("Cannot find hostname for "+where);
return Maybe.fromNullable(hostname);
@@ -73,7 +73,7 @@ public class Machines {
InetAddress addr = ((MachineLocation) where).getAddress();
if (addr != null) result = addr.getHostAddress();
}
- log.debug("computed hostname {} for {}", result, where);
+ log.debug("computed subnet host ip {} for {}", result, where);
return Maybe.fromNullable(result);
}