Logback not working with JBoss EAP 6.1

Viewed 4880

I have a maven web application in which I am using logback and JBoss EAP 6.1 as server. The problem is that when I deploy it on server, my logback.xml is ignored and logback's default configuration is used which prints on console instead of my log file. Logging works fine if I deploy my application on tomcat.

I have put logback.xml in src/main/resources.

Found similar question at - Logging Configuration in Logback + SL4J + JBoss EAP 6.0 and Logback and Jboss 7 - don't work together? but no use...

2 Answers
Related