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

   @hongwingl,
   
   I don't recommend distributing applications as fat JARs. Using **altered 
versions** of a library (repackaged) will cause multiple problems that the 
author of the fat JAR needs to take care of. See our [F.A.Q. entry about single 
JAR applications](https://logging.apache.org/log4j/2.x/faq.html#single-jar) for 
alternative methods to make a single JAR application.
   
   Log4j will issue a `WARN` statement to the console in case it detects 
modifications that break location detection:
   
   
https://github.com/apache/logging-log4j2/blob/03cadfa73e9b95e18528ab45d19c4c865bbe7d9e/log4j-api/src/main/java/org/apache/logging/log4j/util/StackLocator.java#L94-L97
   
   However, it is up to application developer to fix problems that result from 
modifying the original Log4j JARs.


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