wood burning stoves 2.0*
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss As 7 + slf4j + logback" Watch "Jboss As 7 + slf4j + logback" New topic

Jboss As 7 + slf4j + logback

Nick Carag

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.

Nick Carag

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.
It is sorta covered in the JavaRanch Style Guide.
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?