Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss As 7 + slf4j + logback

 
Nick Carag
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a working configuration? I've read about jboss logmanager but I want just to use slf4j over logback.

Thanks
 
Nick Carag
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic