Policy 1707 commit to LF
[policy/engine.git] / ECOMP-REST / src / main / java / org / openecomp / policy / rest / jpa / ClosedLoopD2Services.java
index 408190a..391ed97 100644 (file)
@@ -42,10 +42,9 @@ import javax.persistence.TemporalType;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.openecomp.policy.rest.XacmlAdminAuthorization;
-
 import org.openecomp.policy.common.logging.eelf.MessageCodes;
 import org.openecomp.policy.common.logging.eelf.PolicyLogger;
+import org.openecomp.policy.rest.XacmlAdminAuthorization;
 
 
 @Entity
@@ -101,7 +100,7 @@ public class ClosedLoopD2Services implements Serializable{
                this.userModifiedBy = userModifiedBy;
        }
 
-       private static Log logger = LogFactory.getLog(ClosedLoopD2Services.class);
+       private static Log LOGGER = LogFactory.getLog(ClosedLoopD2Services.class);
        
        public ClosedLoopD2Services(){
                
@@ -128,8 +127,7 @@ public class ClosedLoopD2Services implements Serializable{
                try {
                        this.userModifiedBy = XacmlAdminAuthorization.getUserId();;
                } catch (Exception e) {
-                       logger.error("Exception caused While adding Modified by Role"+e);
-                       // TODO:EELF Cleanup - Remove logger
+                       LOGGER.error("Exception caused While adding Modified by Role"+e);
                        PolicyLogger.error(MessageCodes.EXCEPTION_ERROR, e, "ClosedLoopD2Services", "Exception caused While adding Modified by Role");
                }
        }