• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring INFO logging is not working in JBOSS 5.0 works in tomcat

 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am working with spring, hibernate and JBOSS. I want to see the INFO and DEBUG information from spring and hence configured my log4j.properties file accordingly.

The configuration works perfectly fine on a tomcat server and the I can see the spring INFO and DEBUG information.
But when I switch to JBOSS, I don't get any spring logging.

Any elementary configuration I am missing out what it comes to JBOSS?

Thanks
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss AS has its own logging config file at server/xxx/conf/jboss-loj4j.xml. The standard way of logging you app is to edit that file. Or you can follow this:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125552
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic