ppkarwasz commented on issue #2384:
URL: 
https://github.com/apache/logging-log4j2/issues/2384#issuecomment-2000228751

   @JyotiSathe,
   
   The stack trace you deleted seems like a problem with Spring Boot's version 
of our lookup. Unlike our version it fails if there is no environment.
   
   Such an occurrence is pretty natural. If you use a `log4j2.xml` 
configuration file it will be used twice: **before** an environment is 
available and **after** the environment is available. You can work around the 
problem by renaming the file to `log4j2-spring.xml` or using a Spring arbiter.


-- 
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...@logging.apache.org

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

Reply via email to