Dictionary/src/java/log4j.properties

37 lines
1.5 KiB
Properties
Raw Normal View History

2003-10-08 18:24:08 +00:00
### 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
### direct messages to file hibernate.log ###
log4j.appender.file=org.apache.log4j.FileAppender
2003-10-24 21:19:34 +00:00
log4j.appender.file.File=/Users/travis/webapps/Dictionary/logs/hibernate.log
2003-10-08 18:24:08 +00:00
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
### direct messages to file lex.log ###
log4j.appender.lex-out=org.apache.log4j.FileAppender
2003-10-24 21:19:34 +00:00
log4j.appender.lex-out.File=/Users/travis/webapps/Dictionary/logs/lex.log
2003-10-08 18:24:08 +00:00
log4j.appender.lex-out.layout=org.apache.log4j.PatternLayout
log4j.appender.lex-out.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
### set log levels - for more verbose logging change 'info' to 'debug' ##
log4j.rootLogger=warn, stdout
log4j.logger.net.sf.hibernate=info, file
2003-10-08 18:24:08 +00:00
log4j.logger.org.thdl.lex=debug, lex-out
2003-10-08 18:24:08 +00:00
### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
### log JDBC bind parameters ###
#log4j.logger.net.sf.hibernate.type=info
2003-10-08 18:24:08 +00:00
### log prepared statement cache activity ###
#log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=info
2003-10-08 18:24:08 +00:00