rhtyd commented on a change in pull request #2992: PoC for log library surface 
reduction (2991)
URL: https://github.com/apache/cloudstack/pull/2992#discussion_r232985136
 
 

 ##########
 File path: utils/src/main/java/com/cloud/utils/AutoCloseableUtil.java
 ##########
 @@ -16,10 +16,11 @@
 // under the License.
 package com.cloud.utils;
 
-import org.apache.log4j.Logger;
+import org.apache.cloudstack.utils.log.LogFactory;
+import org.apache.cloudstack.utils.log.Logger;
 
 public class AutoCloseableUtil {
-    private final static Logger s_logger = 
Logger.getLogger(AutoCloseableUtil.class);
+    private final static Logger s_logger = 
LogFactory.getLogger(AutoCloseableUtil.class);
 
 Review comment:
   I guess we'll need to refactor codebase wide to use LogFactory.

----------------------------------------------------------------
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