Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Commit 06cd1b4

Browse files
committed
more logging
1 parent 087ebd2 commit 06cd1b4

File tree

1 file changed

+3
-0
lines changed
  • messaging/gt4.0-elastic/java/msgbridge/src/org/nimbustools/messaging/gt4_0_elastic/v2008_05_05/rm/defaults

1 file changed

+3
-0
lines changed

messaging/gt4.0-elastic/java/msgbridge/src/org/nimbustools/messaging/gt4_0_elastic/v2008_05_05/rm/defaults/DefaultRun.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ protected NIC[] getNICs(String networkName) throws CannotTranslateException {
349349
final NIC[] nics;
350350
if (networkName != null && !networkName.trim().equals("")) {
351351
nics = new NIC[1];
352+
networkName = networkName.trim();
353+
logger.info("Using network name " + networkName);
352354
nics[0] = this.oneRequestedNIC(networkName, "autoeth0");
353355
}
354356
else if (pubNet.equals(privNet)) {
@@ -521,6 +523,7 @@ protected void handleNetworking(VM vm,
521523
String privateAssignedIp = null;
522524
String publicAssignedIp = null;
523525

526+
logger.info("Using network " + netName);
524527
if (this.networks.isPrivateNetwork(netName)) {
525528
riit.setPrivateDnsName(hostname);
526529
riit.setPrivateIpAddress(ipAddress);

0 commit comments

Comments
 (0)