diff options
author | Marcus G K Williams <marcus.williams@intel.com> | 2017-05-02 15:14:39 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-05-16 19:56:58 +0000 |
commit | 85c60968f20d96f3a59eddf95d740cb0fde47825 (patch) | |
tree | 3dc2fe39406c6d18a70eb4d17604801cd20e2216 /appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src | |
parent | 0b5c94513448866c614d098b5603fcda94d00c0d (diff) |
Enable NETCONF Adapter bundle logging
Change-Id: If746c9a29066f8cbf7c27b280a44665144fe96d9
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Diffstat (limited to 'appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src')
-rw-r--r-- | appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java index aac49c288..e6dbda450 100644 --- a/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java +++ b/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/main/java/org/openecomp/appc/adapter/netconf/AppcNetconfAdapterActivator.java @@ -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"); } /** |