comparison src/main/resources/log4j.properties @ 4:8ce07918ec8a

(none)
author jurzua
date Wed, 29 Oct 2014 13:30:55 +0000
parents
children
comparison
equal deleted inserted replaced
3:1e4835334837 4:8ce07918ec8a
1 ### direct log messages to stdout ###
2 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
3 log4j.appender.stdout.Target=System.out
4 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
5 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
6
7 ### direct messages to file hibernate.log ###
8 log4j.appender.file=org.apache.log4j.FileAppender
9 log4j.appender.file.File=${catalina.home}/logs/hibernate.log
10 log4j.appender.file.layout=org.apache.log4j.PatternLayout
11 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
12
13 log4j.appender.persistenceServiceFile=org.apache.log4j.FileAppender
14 log4j.appender.persistenceServiceFile.File=${catalina.home}/logs/persistenceService.log
15 log4j.appender.persistenceServiceFile.layout=org.apache.log4j.PatternLayout
16 log4j.appender.persistenceServiceFile.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
17
18 ### set log levels - for more verbose logging change 'info' to 'debug' ##
19
20 log4j.rootLogger=info, file
21
22 log4j.logger.org.mpi.openmind.repository.services.PersistenceService=info, persistenceServiceFile
23 log4j.logger.org.mpi.openmind.search.SearchService=info, persistenceServiceFile
24
25 #log4j.logger.net.sf.hibernate=debug, stdout
26 #Hibernate
27 #log4j.logger.org.hibernate.cfg=debug, file
28 #log4j.logger.org.hibernate.cfg.annotations.Version=info, stdout
29 #log4j.logger.org.hibernate.cfg.Environment=info, stdout
30 #log4j.logger.org.hibernate.cfg.AnnotationBinder=info, stdout
31
32
33 ### enable the following line if you want to track down connection ###
34 ### leakages when using DriverManagerConnectionProvider ###
35 #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
36
37 ### log JDBC bind parameters ###
38 #log4j.logger.net.sf.hibernate.type=debug
39
40 ### log prepared statement cache activity ###
41 #log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug