Log some context when Intent failed.

Change-Id: Ib30f78f970680144f920ca4754825f78eedb658b
diff --git a/apps/optical-model/src/main/java/org/onosproject/net/optical/intent/impl/compiler/OpticalConnectivityIntentCompiler.java b/apps/optical-model/src/main/java/org/onosproject/net/optical/intent/impl/compiler/OpticalConnectivityIntentCompiler.java
index 5183a3e..5593233 100644
--- a/apps/optical-model/src/main/java/org/onosproject/net/optical/intent/impl/compiler/OpticalConnectivityIntentCompiler.java
+++ b/apps/optical-model/src/main/java/org/onosproject/net/optical/intent/impl/compiler/OpticalConnectivityIntentCompiler.java
@@ -125,6 +125,7 @@
         Resource dstPortResource = Resources.discrete(dst.deviceId(), dst.port()).resource();
         // If ports are not available, compilation fails
         if (!Stream.of(srcPortResource, dstPortResource).allMatch(resourceService::isAvailable)) {
+            log.error("Ports for the intent are not available. Intent: {}", intent);
             throw new OpticalIntentCompilationException("Ports for the intent are not available. Intent: " + intent);
         }
 
@@ -147,7 +148,7 @@
             OchSignal lambda = new OchSignal(Frequency.ofHz(Long.parseLong(staticLambda)),
                                              srcOchPort.lambda().channelSpacing(),
                                              srcOchPort.lambda().slotGranularity());
-            log.debug("Using staticalluy assigned lambda : {}", lambda);
+            log.debug("Using statically assigned lambda : {}", lambda);
 
             List<Resource> res = new ArrayList<>();
 
@@ -192,6 +193,7 @@
         if (!srcOchPort.isTunable() || !dstOchPort.isTunable()) {
             Path firstPath = paths.findAny().orElse(null);
             if (firstPath == null) {
+                log.error("Unable to find suitable lightpath for intent {}", intent);
                 throw new OpticalIntentCompilationException("Unable to find suitable lightpath for intent " + intent);
             }
             OchSignal lambda = srcOchPort.lambda();
@@ -220,6 +222,7 @@
             OchSignal ochSignal = OchSignal.toFixedGrid(found.get().getValue(), ChannelSpacing.CHL_50GHZ);
             return ImmutableList.of(createIntent(intent, found.get().getKey(), ochSignal));
         } else {
+            log.error("Unable to find suitable lightpath for intent {}", intent);
             throw new OpticalIntentCompilationException("Unable to find suitable lightpath for intent " + intent);
         }
     }