Revision 69e0de07
Added by Andreas Müller almost 17 years ago
.gitattributes | ||
---|---|---|
76 | 76 |
cdmlibrary/lib/spring.jar -text |
77 | 77 |
cdmlibrary/lib/xercesImpl.jar -text |
78 | 78 |
cdmlibrary/lib/xml-apis.jar -text |
79 |
cdmlibrary/log4j.properties -text |
|
80 | 79 |
cdmlibrary/pom.xml -text |
81 | 80 |
cdmlibrary/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationController.java -text |
82 | 81 |
cdmlibrary/src/main/java/eu/etaxonomy/cdm/api/service/AgentServiceImpl.java -text |
... | ... | |
168 | 167 |
cdmlibrary/src/main/java/eu/etaxonomy/cdm/strategy/ZooNameCacheStrategy.java -text |
169 | 168 |
cdmlibrary/src/main/java/eu/etaxonomy/cdm/validation/TaxonNameValidator.java -text |
170 | 169 |
cdmlibrary/src/main/resources/editCdm.spring.cfg.xml -text |
170 |
cdmlibrary/src/main/resources/log4j.properties -text |
|
171 | 171 |
cdmlibrary/src/test/java/eu/etaxonomy/cdm/functiontest/EventTest.java -text |
172 | 172 |
cdmlibrary/src/test/java/eu/etaxonomy/cdm/functiontest/ListenerTest.java -text |
173 | 173 |
cdmlibrary/src/test/java/eu/etaxonomy/cdm/functiontest/SpringControl.java -text |
cdmlibrary/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=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=info, stdout |
|
21 |
|
|
22 |
### *** CDM *** ### |
|
23 |
|
|
24 |
log4j.logger.eu.etaxonomy.cdm.functiontest = debug |
|
25 |
|
|
26 |
### ***HIBERNATE ************ ### |
|
27 |
|
|
28 |
log4j.logger.org.hibernate=warn |
|
29 |
|
|
30 |
### log HQL query parser activity |
|
31 |
#log4j.logger.org.hibernate.hql.ast.AST=debug |
|
32 |
|
|
33 |
### log just the SQL |
|
34 |
#log4j.logger.org.hibernate.SQL=debug |
|
35 |
|
|
36 |
### log JDBC bind parameters ### |
|
37 |
log4j.logger.org.hibernate.type=info |
|
38 |
|
|
39 |
### log schema export/update ### |
|
40 |
log4j.logger.org.hibernate.tool.hbm2ddl=warn |
|
41 |
|
|
42 |
### log HQL parse trees |
|
43 |
#log4j.logger.org.hibernate.hql=debug |
|
44 |
|
|
45 |
### log cache activity ### |
|
46 |
#log4j.logger.org.hibernate.cache=debug |
|
47 |
|
|
48 |
### log transaction activity |
|
49 |
#log4j.logger.org.hibernate.transaction=debug |
|
50 |
|
|
51 |
### log JDBC resource acquisition |
|
52 |
log4j.logger.org.hibernate.jdbc=info |
|
53 |
|
|
54 |
### enable the following line if you want to track down connection ### |
|
55 |
### leakages when using DriverManagerConnectionProvider ### |
|
56 |
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace |
cdmlibrary/src/main/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=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=info, stdout |
|
21 |
|
|
22 |
### *** CDM *** ### |
|
23 |
|
|
24 |
log4j.logger.eu.etaxonomy.cdm.functiontest = debug |
|
25 |
|
|
26 |
### ***HIBERNATE ************ ### |
|
27 |
|
|
28 |
log4j.logger.org.hibernate=warn |
|
29 |
|
|
30 |
### log HQL query parser activity |
|
31 |
#log4j.logger.org.hibernate.hql.ast.AST=debug |
|
32 |
|
|
33 |
### log just the SQL |
|
34 |
#log4j.logger.org.hibernate.SQL=debug |
|
35 |
|
|
36 |
### log JDBC bind parameters ### |
|
37 |
log4j.logger.org.hibernate.type=info |
|
38 |
|
|
39 |
### log schema export/update ### |
|
40 |
log4j.logger.org.hibernate.tool.hbm2ddl=warn |
|
41 |
|
|
42 |
### log HQL parse trees |
|
43 |
#log4j.logger.org.hibernate.hql=debug |
|
44 |
|
|
45 |
### log cache activity ### |
|
46 |
#log4j.logger.org.hibernate.cache=debug |
|
47 |
|
|
48 |
### log transaction activity |
|
49 |
#log4j.logger.org.hibernate.transaction=debug |
|
50 |
|
|
51 |
### log JDBC resource acquisition |
|
52 |
log4j.logger.org.hibernate.jdbc=info |
|
53 |
|
|
54 |
### enable the following line if you want to track down connection ### |
|
55 |
### leakages when using DriverManagerConnectionProvider ### |
|
56 |
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace |
Also available in: Unified diff
move log4j props