1 ### ************ APPENDER ***********************************###
3 ### direct log messages to stdout ###
4 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
5 log4j.appender.stdout.Target=System.out
6 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
7 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
9 ### direct messages to file hibernate.log ###
10 log4j.appender.file=org.apache.log4j.FileAppender
11 log4j.appender.file.File=hibernate.log
12 log4j.appender.file.layout=org.apache.log4j.PatternLayout
13 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
16 ### ************* LOG LEVELS *********************************###
18 ### set log levels - for more verbose logging change 'info' to 'debug' ###
20 log4j.rootLogger=warn, stdout
24 log4j.logger.eu.etaxonomy.cdm = info
25 log4j.logger.eu.etaxonomy.cdm.common.MediaMetaData = error
26 log4j.logger.eu.etaxonomy.cdm.api.application.CdmApplicationController = warn
27 log4j.logger.eu.etaxonomy.cdm.api.application.eclipse = warn
28 log4j.logger.eu.etaxonomy.cdm.io.berlinModel = info
29 log4j.logger.eu.etaxonomy.cdm.io.berlinModel.BerlinModelTaxonIO = info
30 log4j.logger.eu.etaxonomy.cdm.io.berlinModel.BerlinModelReferenceIO = info
31 log4j.logger.eu.etaxonomy.cdm.model.common.init = warn
32 log4j.logger.eu.etaxonomy.cdm.model.common.IdentifiableEntity = warn
33 #log4j.logger.eu.etaxonomy.cdm.database.LocalH2 = warn
35 log4j.logger.eu.etaxonomy.cdm.database.VocabularyStoreImpl = warn
36 log4j.logger.eu.etaxonomy.cdm.model.description.DescriptionBase = warn
40 ### *** SPRING ************ ###
41 log4j.logger.org.springframework.transaction = warn
42 log4j.logger.org.hibernate.engine.LoadContexts = error
43 log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
44 log4j.logger.org.springframework.orm.hibernate3 = info
45 log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
46 log4j.logger.org.springframework.core.io.support = info
49 ### ***HIBERNATE ************ ###
51 log4j.logger.org.hibernate=warn
53 ### No warnings as thrown by SQLServer
54 log4j.logger.org.hibernate.cfg = warn
56 ### No warnings as thrown by SQLServer
57 log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
59 ### log HQL query parser activity
60 #log4j.logger.org.hibernate.hql.ast.AST=debug
63 log4j.logger.org.hibernate.SQL=info
65 ### log JDBC bind parameters ###
66 log4j.logger.org.hibernate.type=warn
68 ### log schema export/update ###
69 log4j.logger.org.hibernate.tool.hbm2ddl=warn
71 ### log HQL parse trees
72 #log4j.logger.org.hibernate.hql=debug
74 ### log cache activity ###
75 #log4j.logger.org.hibernate.cache=debug
77 ### log transaction activity
78 #log4j.logger.org.hibernate.transaction=debug
80 ### log JDBC resource acquisition
81 log4j.logger.org.hibernate.jdbc=info
83 ### enable the following line if you want to track down connection ###
84 ### leakages when using DriverManagerConnectionProvider ###
85 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace