if (type == ServiceEvent.MODIFIED) {
log.info("[MODIFIED] " + message);
}</BUG>
else if (type == ServiceEvent.REGISTERED) {
<BUG>log.info("[REGISTERED] " + message);
}</BUG>
else if (type == ServiceEvent.UNREGISTERING) {
<BUG>log.info("[UNREGISTERING] " + message);
}</BUG>
}

if (type == ServiceEvent.MODIFIED) {
log.info("[MODIFIED] " + serviceReference.toString());
}
else if (type == ServiceEvent.REGISTERED) {
log.info("[REGISTERED] " + serviceReference.toString());
}
else if (type == ServiceEvent.UNREGISTERING) {
log.info("[UNREGISTERING] " + serviceReference.toString());
}
}
