1 |
c7794849
|
p.ciardelli
|
### ************ 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=taxeditor.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 |
|
|
### ************* LOG LEVELS *********************************###
|
16 |
|
|
|
17 |
|
|
### set log levels - for more verbose logging change 'info' to 'debug' ###
|
18 |
|
|
### levels: error, warn, debug, info
|
19 |
|
|
log4j.rootLogger=FATAL, stdout
|
20 |
|
|
|
21 |
|
|
### set directory-specific levels below
|
22 |
|
|
log4j.logger.eu.etaxonomy.taxeditor = ERROR
|
23 |
|
|
|
24 |
|
|
|