Specific scene:
Multiple projects are deployed under the same tomcat. Since the jars between each project are roughly the same, in order to reduce space consumption and facilitate the management of jars, I adopt a unified management method of jars, and put common jars in the tomcat container layer for loading ( load) to achieve unified management of jars.
question:
Multiple projects start normally under tomcat, but only the first project generates logback log files.
Solution:
Put the logback-core, logback-classic, and slf4j-api jars back into each project.