The tomcat server is not printing the exception to the console
The tomcat server is not printing the exception to the console.
Log4j properties:
Code:
log4j.rootLogger=INFO, stdout
#console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d %p (%F:%L) - [%m]%n
log4j.appender.stdout.Target=System.out
#logfile
#log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
#log4j.appender.logfile.File=${catalina.home}/logs/background.log
log4j.appender.logfile.threshold = logfile
log4j.appender.logfile.DatePattern = '.'yyyy-MM-dd
log4j.appender.logfile.Append = true
#log4j.appender.logfile=org.apache.log4j.RollingFileAppender
# Log4j Max File Size
#log4j.appender.logfile.MaxFileSize=5120KB
# Keep three backup files.
#log4j.appender.logfile.MaxBackupIndex=5
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %5p (%F:%L) - [%m]%n
# WARNING: Setting the org.springframework logger to DEBUG displays debug information about
# the request parameter values being bound to the command objects. This could expose your
# password in the log file. If you are sharing your log files, it is recommend you selectively
# apply DEBUG level logging on a an org.springframework.* package level (i.e. org.springframework.dao)
log4j.logger.org.springframework.jdbc=ERROR
#log4j.logger.org.springframework.web.servlet.i18n=DEBUG
#log4j.logger.org.springframework.web.servlet.view=DEBUG
#log4j.logger.org.quartz=DEBUG
log4j.logger.org.jasig=INFO
log4j.logger.org.hibernate=ERROR
log4j.logger.org.hibernate.SQL=ERROR
log4j.logger.org.apache.struts=ERROR
How can I do?