Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JBoss/WildFly and the fly likes Jboss As 7 + slf4j + logback Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss As 7 + slf4j + logback" Watch "Jboss As 7 + slf4j + logback" New topic
Author

Jboss As 7 + slf4j + logback

Nick Carag
Greenhorn

Joined: Dec 08, 2010
Posts: 13
Is there a working configuration? I've read about jboss logmanager but I want just to use slf4j over logback.

Thanks
Nick Carag
Greenhorn

Joined: Dec 08, 2010
Posts: 13
It's working now, I added logback core and classic jar in WEB-INF/lib with logback.xml under WEB-INF classes but one thing is still strange. The JPA through Hibernate is provided by JBoss, any log related to Hibernate is written on the console (maybe JBoss logmanager?) but not in the log file configured in logback.xml, while i can see the log statements added through the Logger class of slf4j by my webapp.

Any ideas? Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss As 7 + slf4j + logback