more genric way to insert first data (metadata, admin, ROLE_ADMIN)
[cdmlib.git] / cdmlib-services / src / test / resources / log4j.properties
1 #
2 #
3 # If you are having problems with logging you may debug Log4J initialization,
4 # start the application with a system property log4j.configDebug set to "true".
5 # E.g.:
6 #
7 # java -Dlog4j.configDebug=true
8 #
9 ### ************ APPENDER ***********************************###
10
11 ### direct log messages to stdout ###
12 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 log4j.appender.stdout.Target=System.out
14 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
16
17 ### direct messages to file hibernate.log ###
18 log4j.appender.file=org.apache.log4j.FileAppender
19 log4j.appender.file.File=./target/hibernate.log
20 log4j.appender.file.layout=org.apache.log4j.PatternLayout
21 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
22
23
24 ### ************* LOG LEVELS *********************************###
25
26 ### set log levels - for more verbose logging change 'info' to 'debug' ###
27
28 log4j.rootLogger=warn, stdout, file
29
30 ### *** CDM *** ###
31
32 log4j.logger.eu.etaxonomy.cdm = info
33 #
34 log4j.logger.eu.etaxonomy.cdm.model.common.init = warn
35 #log4j.logger.eu.etaxonomy.cdm.model.taxon.TaxonNodeByNameComparator=trace
36 #
37 log4j.logger.eu.etaxonomy.cdm.test.function = info
38 log4j.logger.eu.etaxonomy.cdm.test.integration = info
39 log4j.logger.eu.etaxonomy.cdm.api.application = warn
40 log4j.logger.eu.etaxonomy.cdm.api.service = debug
41 #log4j.logger.eu.etaxonomy.cdm.database.VocabularyStoreImpl = warn
42 #
43 log4j.logger.eu.etaxonomy.cdm.database.init = warn
44 log4j.logger.eu.etaxonomy.cdm.database = info
45 log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common = warn
46
47
48
49
50
51 ### *** SPRING ************ ###
52 log4j.logger.org.springframework.transaction = warn
53 log4j.logger.org.hibernate.engine.LoadContexts = warn
54 log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = warn
55 log4j.logger.org.springframework.orm.hibernate3 = warn
56 log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
57 log4j.logger.org.springframework.core.io.support = warn
58 #log4j.logger.org.springframework.context.support = trace
59
60
61 ### ***HIBERNATE ************ ###
62
63 log4j.logger.org.hibernate=warn
64
65 ### No warnings as thrown by SQLServer
66 ###log4j.logger.org.hibernate.cfg = warn
67
68 ### No warnings as thrown by SQLServer
69 log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
70
71 ### log HQL query parser activity
72 #log4j.logger.org.hibernate.hql.ast.AST=debug
73
74 ### log just the SQL
75 #log4j.logger.org.hibernate.SQL=trace
76
77 ### log JDBC bind parameters ###
78 #log4j.logger.org.hibernate.type=trace
79
80 ### log schema export/update ###
81 log4j.logger.org.hibernate.tool.hbm2ddl=warn
82
83 ### log HQL parse trees
84 log4j.logger.org.hibernate.hql=warn
85 log4j.logger.org.hibernate.hql.ast=warn
86
87 ### log cache activity ###
88 #log4j.logger.org.hibernate.cache=debug
89
90 ### log transaction activity
91 #log4j.logger.org.hibernate.transaction=debug
92
93 ### log JDBC resource acquisition
94 log4j.logger.org.hibernate.jdbc=info
95
96 ### avoid warnings about inappropriate Annotations ###
97 # TODO remove the below two line after updating to hibernate 4.x
98 log4j.logger.org.hibernate.search.engine.DocumentBuilderContainedEntity=error
99 log4j.logger.org.hibernate.search.impl.SearchFactoryImpl=error
100
101 ### enable the following line if you want to track down connection ###
102 ### leakages when using DriverManagerConnectionProvider ###
103 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
104
105 ### log transaction management & binding
106 #log4j.logger.org.hibernate.transaction=debug
107 #log4j.logger.org.springframework.transaction.support.TransactionSynchronizationManager=trace
108 #log4j.logger.org.springframework.orm.hibernate3.HibernateTransactionManager=trace
109 #log4j.logger.org.springframework.orm.hibernate3=trace
110
111 ### enable logging if you want to track what is happening in the database ###
112 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmPostCrudObservableListener=trace
113
114 ### log hibernate id generation
115 #log4j.logger.org.hibernate.id = INFO
116 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.TableGenerator=debug
117
118 ### log dbunit dataset loading ####
119 #log4j.logger.org.dbunit.operation=debug
120 #log4j.logger.org.dbunit.operation.DeleteAllOperation=debug
121
122 #### log spring security #####
123 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission=debug
124 log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission.CdmAuthority=warn
125 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor=debug
126 #log4j.logger.org.springframework.security.access.intercept=debug
127 #log4j.logger.org.springframework.security.access.vote=debug
128 #log4j.logger.eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest=debug
129
130 #### Lucene Fulltext index and cdmlib search facility####
131 #log4j.logger.org.apache.lucene=debug
132 log4j.logger.eu.etaxonomy.cdm.search.LuceneSearch=warn
133
134 ### *** Profiling Logger ************ ###
135
136 #log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
137 ### Profiling output
138 #log4j.appender.profiling=org.apache.log4j.RollingFileAppender
139 #log4j.appender.profiling.File=profiling.log
140 #log4j.appender.profiling.MaxFileSize=1024KB
141 #log4j.appender.profiling.MaxBackupIndex=1
142 #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
143 #log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
144
145 #log4j.logger.org.springframework.context.annotation.ClassPathBeanDefinitionScanner = trace
146