aspose file tools*
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
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: 199
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: 5779
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring INFO logging is not working in JBOSS 5.0 works in tomcat
 
Similar Threads
Error with servlet on JBoss 5.0
Logging not working in JBoss, following instructions in section 2.2.1 Get.. Start..
log4j multiplelocation logging
Tweaking tomcat 6 logging.properties file
How to set Logging level (DEBUG) struts and tiles