wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Spring INFO logging is not working in JBOSS 5.0 works in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Spring INFO logging is not working in JBOSS 5.0 works in tomcat" Watch "Spring INFO logging is not working in JBOSS 5.0 works in tomcat" New topic
Author

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

Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 201
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

Joined: May 14, 2008
Posts: 5823
    
    7

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


JBoss In Action
 
Don't get me started about those stupid light bulbs.
 
subject: Spring INFO logging is not working in JBOSS 5.0 works in tomcat