kasakrisz commented on a change in pull request #15: AMBARI-24895 - Infra 
Manager: code clean up
URL: https://github.com/apache/ambari-infra/pull/15#discussion_r233805645
 
 

 ##########
 File path: 
ambari-infra-manager/src/main/java/org/apache/ambari/infra/conf/security/HadoopCredentialStore.java
 ##########
 @@ -18,16 +18,16 @@
  */
 package org.apache.ambari.infra.conf.security;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import static org.apache.commons.lang.StringUtils.isBlank;
+import static org.apache.commons.lang3.ArrayUtils.isNotEmpty;
 
 import java.util.Optional;
 
-import static org.apache.commons.lang.StringUtils.isBlank;
-import static org.apache.commons.lang3.ArrayUtils.isNotEmpty;
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
 
 public class HadoopCredentialStore implements PasswordStore {
-  private static final Logger LOG = 
LoggerFactory.getLogger(InfraManagerSecurityConfig.class);
+  private static final Logger logger = 
LogManager.getLogger(InfraManagerSecurityConfig.class);
 
 Review comment:
   LogManager.getLogger - log4j2
   LoggerFactory.getLogger - slf4j

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to