Hi All,
My application is in an exploded EAR directory which has a war and a jar module. Its directory structure can be seen in the attached fig1.png (where log4j and commons-logging are used) and fig4.png (where logback is used). The application.xml is in fig2.png.
The log4j.properties and logback.xml are in the jar module so that other modules (war, ejb) can use it. The servlet (fig3.png) writes to the log.
The application works fine with log4j, but nothing is printed out in case of logback.
The application is in again.zip. The exploded EAR directory can be generated with running "mvn clean package" in the root directory.
Does anybody know where I'm wrong with
logback?
Regards.