ref #6886 test to repoduce issue with users having only CREATE permission
[cdmlib.git] / cdmlib-persistence / src / test / resources / log4j.properties
1 ### ************ APPENDER ***********************************###
2
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
8
9 ### direct messages to file hibernate.log ###
10 log4j.appender.file=org.apache.log4j.FileAppender
11 log4j.appender.file.File=target/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
14
15
16 ### ************* LOG LEVELS *********************************###
17
18 ### set log levels - for more verbose logging change 'info' to 'debug' ###
19
20 log4j.rootLogger=warn,stdout
21 log4j.logger.org.dbunit=error
22
23 ### avoid warnings about inappropriate Annotations ###
24 # TODO remove the below two line after updating to hibernate 4.x
25 log4j.logger.org.hibernate.search.engine.DocumentBuilderContainedEntity=error
26 log4j.logger.org.hibernate.search.impl.SearchFactoryImpl=error
27
28 ### *** jUnitBenchmarks *** ###
29 #log4j.logger.com.carrotsearch.junitbenchmarks=INFO
30
31 ### *** CDM *** ###
32
33 #log4j.logger.eu.etaxonomy.cdm = info
34 #log4j.logger.eu.etaxonomy.cdm.database.init = debug
35
36
37 ### *** SPRING ************ ###
38 #log4j.logger.org.springframework.transaction = warn
39 #log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
40 #log4j.logger.org.springframework.orm.hibernate3 = info
41 #log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
42 #log4j.logger.org.springframework.core.io.support = info
43
44 #### log spring security #####
45 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission=debug
46 log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission.CdmAuthority=warn
47 #log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor=debug
48 #log4j.logger.org.springframework.security.access.intercept=debug
49 #log4j.logger.org.springframework.security.access.vote=debug
50 #log4j.logger.eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest=debug
51
52 #org.dbunit.database.statement.AutomaticPreparedBatchStatement
53
54
55 ### ***HIBERNATE ************ ###
56
57 # supress HHH90000003
58 log4j.logger.org.hibernate.orm.deprecation=ERROR
59
60 #log4j.logger.org.hibernate=warn, file
61 #log4j.logger.org.hibernate.tool.hbm2ddl.SchemaExport = error
62 #log4j.logger.org.hibernate.engine.LoadContexts = error
63 #
64 #log4j.logger.org.hibernate.envers.event.AuditEventListener = debug, file
65
66 ### No warnings as thrown by SQLServer
67 #log4j.logger.org.hibernate.cfg = warn
68
69 ### No warnings as thrown by SQLServer
70 #log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
71
72 ### log HQL query parser activity
73 #log4j.logger.org.hibernate.hql.ast.AST=debug
74
75 ### log just the SQL
76 # to log more context specific use this snipped in the code:
77 # Logger.getLogger("org.hibernate.SQL").setLevel(Level.TRACE);
78 #log4j.logger.org.hibernate.SQL=TRACE
79
80 ### log just hibernate processing queries
81 #log4j.logger.org.hibernate.engine.query = TRACE
82
83 ### log JDBC bind parameters ###
84 #log4j.logger.org.hibernate.type=TRACE
85
86 ### log schema export/update ###
87 #log4j.logger.org.hibernate.tool.hbm2ddl=warn
88
89 ### log HQL parse trees
90 #log4j.logger.org.hibernate.hql=debug
91
92 ### log cache activity ###
93 #log4j.logger.org.hibernate.cache=debug
94
95 ### log transaction management & binding
96 #log4j.logger.org.hibernate.transaction=debug
97 #log4j.logger.org.springframework.transaction.support.TransactionSynchronizationManager=trace
98 #log4j.logger.org.springframework.orm.hibernate3.HibernateTransactionManager=trace
99 #log4j.logger.org.springframework.orm.hibernate3=trace
100
101 ### log AuditEvent Management ####
102 #log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common.VersionableDaoBase=debug
103
104 ### log JDBC resource acquisition
105 #log4j.logger.org.hibernate.jdbc=info
106
107 ### log hibernate id generation
108 #log4j.logger.org.hibernate.id = INFO
109
110 ### enable the following line if you want to track down connection ###
111 ### leakages when using DriverManagerConnectionProvider ###
112 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
113
114 ### hibernate search & Lucene
115 #log4j.logger.eu.etaxonomy.cdm.search.LuceneSearch=info
116
117 ### log CDM-Updater
118 log4j.logger.eu.etaxonomy.cdm.database.update=info
119
120 ### *** Profiling Logger ************ ###
121
122 #log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
123 ### Profiling output
124 #log4j.appender.profiling=org.apache.log4j.RollingFileAppender
125 #log4j.appender.profiling.File=profiling.log
126 #log4j.appender.profiling.MaxFileSize=1024KB
127 #log4j.appender.profiling.MaxBackupIndex=1
128 #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
129 #log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
130
131 ### log dbUnit data loading
132 #log4j.appender.org.unitils.dbunit=debug
133 #log4j.appender.org.dbunit=debug
134 #log4j.appender.org.dbunit.database.statement=debug
135 #log4j.appender.org.dbunit.database.DatabaseConfig=trace
136
137