logback in WebLogic 11g/12c

View: New views
1 Messages — Rating Filter:   Alert me  

logback in WebLogic 11g/12c

by Thai :: Rate this Message:

| View Threaded | Show Only this Message

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.






_______________________________________________
Logback-user mailing list
Logback-user@...
http://mailman.qos.ch/mailman/listinfo/logback-user

fig1.png (38K) Download Attachment
fig2.png (32K) Download Attachment
fig3.png (54K) Download Attachment
fig4.png (39K) Download Attachment
again.zip (30K) Download Attachment