imgoby commented on issue #13610:
URL: https://github.com/apache/dubbo/issues/13610#issuecomment-1888688325

   this is a simple demo using log4j2 and spring-boot-stater.
   The issue can be reproduced.
   
   ```
   @RestController
   
   public class Log4j2Controller {
       private static final Logger logger = 
LogManager.getLogger(Log4j2Controller.class);
   
       @GetMapping({"/log4j2/demo"})
       public String send() {
           logger.info("hello");
           return "log4j2";
       }
   }
   
   ```
   
   
https://github.com/imgoby/spring-cloud-alibaba-dubbo-native/tree/main/spring-cloud-alibaba-log4j2-native-image
   
   The production environment uses this dependency:
   ```
   <dependency>
                   <groupId>org.elasticsearch.client</groupId>
                   <artifactId>elasticsearch-rest-high-level-client</artifactId>
                   <version>7.17.4</version>
               </dependency>
   ```
   It uses org.apache.logging.log4j.LogManager.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to