Merge branch 'master' of ssh://gerrit.opencord.org:29418/fpcagent

Conflicts:
	apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/JettyServer.java
	apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/ParseStream.java
diff --git a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventClient.java b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventClient.java
index 664d9d9..88b0201 100644
--- a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventClient.java
+++ b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventClient.java
@@ -40,6 +40,7 @@
      */
     public void connectToClient(String uri) {
         this.clientUri = uri;
+	log.info("here connectToClient");
         try {
             client.start();
             HttpAsyncRequestProducer get = HttpAsyncMethods.createGet(this.clientUri);
diff --git a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventServer.java b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventServer.java
index 3313188..ddb7426 100644
--- a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventServer.java
+++ b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/EventServer.java
@@ -66,6 +66,7 @@
     }
 
     protected void doPost(HttpServletRequest request, HttpServletResponse response) {
+	log.info("here doPost");
         try {
             String clientUri = null;
             StringBuffer jsonStringBuilder = new StringBuffer();
@@ -75,7 +76,7 @@
                 while ((line = br.readLine()) != null)
                     jsonStringBuilder.append(line);
             } catch (Exception e) {
-                e.printStackTrace();
+	        log.error(ExceptionUtils.getFullStackTrace(e));
             }
 
             try {
diff --git a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/NBEventWorkerManager.java b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/NBEventWorkerManager.java
index 3397bd6..16c8caf 100644
--- a/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/NBEventWorkerManager.java
+++ b/apps/fpcagent/src/main/java/org/onosproject/fpcagent/util/eventStream/NBEventWorkerManager.java
@@ -149,3 +149,4 @@
         this.run = false;
     }
 }
+