Log didin’t write into filename that specified in log4j2-spring.xml file
Spring boot version 3.3.3, in my linux system I will have two tomcat instance under /opt, one is called /opt/tomcat
(which is the dev environment, specified in conf/catalina.properties with spring.profiles.active=dev
), another folder called /opt/tomcat_qa
, also specified the profile to qa.