annotate src/main/resources/log4j.properties @ 127:3e772f7f43e0 default tip

ismi-date with long month names in xml dump.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 11 May 2023 18:15:45 +0200
parents 8ce07918ec8a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
jurzua
parents:
diff changeset
1 ### direct log messages to stdout ###
jurzua
parents:
diff changeset
2 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
jurzua
parents:
diff changeset
3 log4j.appender.stdout.Target=System.out
jurzua
parents:
diff changeset
4 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
jurzua
parents:
diff changeset
5 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
jurzua
parents:
diff changeset
6
jurzua
parents:
diff changeset
7 ### direct messages to file hibernate.log ###
jurzua
parents:
diff changeset
8 log4j.appender.file=org.apache.log4j.FileAppender
jurzua
parents:
diff changeset
9 log4j.appender.file.File=${catalina.home}/logs/hibernate.log
jurzua
parents:
diff changeset
10 log4j.appender.file.layout=org.apache.log4j.PatternLayout
jurzua
parents:
diff changeset
11 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
jurzua
parents:
diff changeset
12
jurzua
parents:
diff changeset
13 log4j.appender.persistenceServiceFile=org.apache.log4j.FileAppender
jurzua
parents:
diff changeset
14 log4j.appender.persistenceServiceFile.File=${catalina.home}/logs/persistenceService.log
jurzua
parents:
diff changeset
15 log4j.appender.persistenceServiceFile.layout=org.apache.log4j.PatternLayout
jurzua
parents:
diff changeset
16 log4j.appender.persistenceServiceFile.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
jurzua
parents:
diff changeset
17
jurzua
parents:
diff changeset
18 ### set log levels - for more verbose logging change 'info' to 'debug' ##
jurzua
parents:
diff changeset
19
jurzua
parents:
diff changeset
20 log4j.rootLogger=info, file
jurzua
parents:
diff changeset
21
jurzua
parents:
diff changeset
22 log4j.logger.org.mpi.openmind.repository.services.PersistenceService=info, persistenceServiceFile
jurzua
parents:
diff changeset
23 log4j.logger.org.mpi.openmind.search.SearchService=info, persistenceServiceFile
jurzua
parents:
diff changeset
24
jurzua
parents:
diff changeset
25 #log4j.logger.net.sf.hibernate=debug, stdout
jurzua
parents:
diff changeset
26 #Hibernate
jurzua
parents:
diff changeset
27 #log4j.logger.org.hibernate.cfg=debug, file
jurzua
parents:
diff changeset
28 #log4j.logger.org.hibernate.cfg.annotations.Version=info, stdout
jurzua
parents:
diff changeset
29 #log4j.logger.org.hibernate.cfg.Environment=info, stdout
jurzua
parents:
diff changeset
30 #log4j.logger.org.hibernate.cfg.AnnotationBinder=info, stdout
jurzua
parents:
diff changeset
31
jurzua
parents:
diff changeset
32
jurzua
parents:
diff changeset
33 ### enable the following line if you want to track down connection ###
jurzua
parents:
diff changeset
34 ### leakages when using DriverManagerConnectionProvider ###
jurzua
parents:
diff changeset
35 #log4j.logger.net.sf.hibernate.connection.DriverManagerConnectionProvider=trace
jurzua
parents:
diff changeset
36
jurzua
parents:
diff changeset
37 ### log JDBC bind parameters ###
jurzua
parents:
diff changeset
38 #log4j.logger.net.sf.hibernate.type=debug
jurzua
parents:
diff changeset
39
jurzua
parents:
diff changeset
40 ### log prepared statement cache activity ###
jurzua
parents:
diff changeset
41 #log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=debug