rgoers edited a comment on pull request #402:
URL: https://github.com/apache/logging-log4j2/pull/402#issuecomment-675277664


   A couple of comments on the Srping Boot article:
   1. In the first two paragraphs you say "new" in each. The first commit for 
Log4j 2 was 10 years ago and the first GA release was 6 years ago. I'd hardly 
call that new.
   2. You use the phrase "substantially based on Logback". That is quite 
incorrect and would violate Logback's licensing were it true.  Logback 
originated from Log4j 1. Log4j 2 took ideas from Logback and Log4j 1 but was 
almost entirely new code. 
   3. While using spring-boot-starter-log4j2 is an option I recommend importing 
log4j-bom instead. That way you control the version of Log4j 2 you are using.
   4. Log4j provides direct Spring Boot support. In 2.13.3 it is included in 
the log4j-spring-cloud-config module. The code that only requires Spring Boot 
is moving to a new log4j-spring-boot module in 2.14.0.
   5. It is worth looking into the support the log4j-spring-cloud-config module 
provides as it supports placing your log4j2.xml file in Spring Cloud config 
where it can be shared by all the instances of your application dynamically 
updating them all when it changes.
   
   
   The first 2 comments also apply to the JBoss article.


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

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


Reply via email to