Provide these settings for the framework libraries (and also for user defined packages) in log4j.properties or log4j.xml (whichever used) :
# Struts2 Stuff
log4j.logger.com.opensymphony=ERROR
log4j.logger.org.apache.struts2=ERROR
log4j.logger.com.shaan.basext.struts2=ERROR
# Spring Stuff
log4j.logger.org.springframework=ERROR
log4j.logger.org.springframework.beans=ERROR
log4j.logger.com.shaan.basext.spring=ERROR
# Hibernate Stuff
log4j.logger.org.hibernate=ERROR
log4j.logger.org.hibernate.cfg=ERROR
log4j.logger.org.hibernate.persister.entity=ERROR
log4j.logger.org.hibernate.loader.entity=ERROR
log4j.logger.com.shaan.basext.hibernate=ERROR
No comments:
Post a Comment
Note: only a member of this blog may post a comment.