log when an instance is not added because of its state

This commit is contained in:
Shay Banon 2012-06-27 11:38:18 +02:00
parent ce4db355db
commit 220275e6b0
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,8 @@ public class AwsEc2UnicastHostsProvider extends AbstractComponent implements Uni
} else {
logger.trace("not adding {}, address is null, host_type {}", instance.getInstanceId(), hostType);
}
} else {
logger.trace("not adding {}, state {} is not pending or running", instance.getInstanceId(), state.getName());
}
}
}