This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
questions on SLF4J: Defaulting to no-operation (NOP) logger implementation
create log file
How could I write logs (using java.util.logging) to different file based on differet package?
Overriding JULI
Simple logging config?