I am getting an undesired output from the hibernate logging system. Instead of getting logs like:
Code:
16:43:20,062 INFO [HibernateContextHelper] Generating Hibernate session for scoped bind [java:/hibernate/SessionFactory]
16:43:20,062 INFO [HibernateContextHelper] Unbinding Hibernate session from scoped bind [java:/hibernate/SessionFactory]
I am getting:
Code:
10:17:36,88810:17:36,88810:17:36,88810:17:36,88810:17:36,903........
I am using the log4j.properties file that is found in HIA:
Code:
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE}
? %5p %c{1}:%L - %m%n
### root logger option ###
log4j.rootLogger=warn, stdout
### Hibernate logging options ###
log4j.logger.net.sf.hibernate=debug
### log JDBC bind parameters ###
log4j.logger.net.sf.hibernate.type=debug
### log PreparedStatement cache activity ###
log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug
Anyone know what I did wrong? Thanks.