Enable NETCONF Adapter bundle logging 25/3825/4
authorMarcus G K Williams <marcus.williams@intel.com>
Tue, 2 May 2017 22:14:39 +0000 (15:14 -0700)
committerPatrick Brady <pb071s@att.com>
Tue, 16 May 2017 19:56:58 +0000 (19:56 +0000)
Change-Id: If746c9a29066f8cbf7c27b280a44665144fe96d9
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java

index aac49c2..e6dbda4 100644 (file)
@@ -23,6 +23,9 @@ package org.openecomp.appc.adapter.netconf;
 
 import org.openecomp.appc.adapter.netconf.internal.NetconfDataAccessServiceImpl;
 import org.openecomp.sdnc.sli.resource.dblib.DbLibService;
+import org.openecomp.appc.i18n.Msg;
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
 import org.osgi.framework.BundleActivator;
 import org.osgi.framework.BundleContext;
 import org.osgi.framework.ServiceReference;
@@ -47,7 +50,7 @@ public class AppcNetconfAdapterActivator implements BundleActivator {
     /**
      * The logger to be used
      */
-    //private static final EELFLogger logger = EELFManager.getInstance().getLogger(AppcNetconfAdapterActivator.class);
+    private static final EELFLogger logger = EELFManager.getInstance().getLogger(AppcNetconfAdapterActivator.class);
 
     /**
      * Called when this bundle is started so the Framework can perform the bundle-specific activities necessary to start
@@ -81,7 +84,7 @@ public class AppcNetconfAdapterActivator implements BundleActivator {
             factoryRegistration = context.registerService(NetconfDataAccessService.class, DAService, null);
         }
 
-        //logger.info(Msg.COMPONENT_INITIALIZED, "NETCONF adapter");
+        logger.info(Msg.COMPONENT_INITIALIZED, "NETCONF adapter");
     }
 
     /**