specific logs for multiple war having one ear approach
问题 specific logs for multiple war having one ear .How to configure the same using log4j2.xml as i am not able to find any much help in this.i have 5 wars having one ear and when i configure the logs all war logs are printing to only one log file which got loaded first by the class loader.i want my log file to be separate out for each war in single ear.any help would be appreciated. 回答1: configuration xml: <?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN"> <Appenders>