Hi ,
I am not able to get the sql parameters in my console. hers is my log4j.properties file:
log4j.rootLogger=INFO, CA, FileAppender log4j.appender.FileAppender = org.apache.log4j.DailyRollingFileAppender log4j.appender.FileAppender.File = logs/VendorPortal.log log4j.appender.FileAppender.Append = true log4j.appender.FileAppender.DatePattern = '.'yyy-MM-dd log4j.appender.FileAppender.layout = org.apache.log4j.PatternLayout log4j.appender.FileAppender.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
log4j.appender.CA=org.apache.log4j.ConsoleAppender log4j.appender.CA.layout=org.apache.log4j.PatternLayout log4j.appender.CA.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n log4j.appender.CA.File=VendorPortalOutput.log
log4j.logger.org.springframework.jdbc.core=DEBUG log4j.logger.org.springframework.jdbc.core.StatementCreatorUtils=DEBUG
log4j.logger.org.hibernate=DEBUG log4j.logger.net.sf.hibernate.SQL=DEBUG log4j.logger.org.hibernate.SQL=DEBUG log4j.logger.net.sf.hibernate.type=DEBUG log4j.logger.org.hibernate.type=DEBUG
Not able to understand what is the problem in the file.
Thanks
|