title: Replace Java Util Logging with Log4j2 specific to web application on tomcat
body: <p>I have a java application deployed on tomcat 9+. I am aware how to change the default tomcat logging to instead use log4j2.
  I have done this by following this <a href="https://logging.apache.org/log4j/2.x/log4j-appserver/index.html" rel="nofollow noreferrer">https://logging.apache.org/log4j/2.x/log4j-appserver/index.html</a>.
  I wanted to know rather than changing the default tomcat logging to use log4j2 is it possible to use log4j2 only for my war file without changing the code. My application has used JUL for logging purpose.</p>