jkvargas commented on issue #1962:
URL: 
https://github.com/apache/logging-log4j2/issues/1962#issuecomment-1809293486

   hi @jvz ,
   I am trying to reproduce the issue with the smallest app possible running on 
ubuntu linux with java 21 and version 2.+
   
   app is quite simple:
   
   package reproduce;
   
   ```
   import org.apache.logging.log4j.LogManager;
   import org.apache.logging.log4j.Logger;
   
   public class App {
       private static Logger logger = LogManager.getLogger();
   
       public static void main(String[] args) {
           logger.info("test");
       }
   }
   ```
   
   and this is the config file.
   
   
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <Configuration status="INFO">
       <Appenders>
           <!-- Define a Console appender -->
           <Console name="Console" target="SYSTEM_OUT">
               <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level 
%logger{36} - %msg%n"/>
           </Console>
   
           <!-- Wrap the Console appender with AsyncAppender -->
           <Async name="Async">
               <AppenderRef ref="Console"/>
           </Async>
       </Appenders>
   
       <!-- Use the AsyncAppender as the root logger -->
       <Loggers>
           <Root level="debug">
               <AppenderRef ref="Async"/>
           </Root>
       </Loggers>
   </Configuration>
   ```
   
   this does not seem to cause any issues.
   What exactly is what triggers the problem?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to