1 |
b84bdb82
|
Andreas Kohlbecker
|
#
|
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 |
|
|
|
10 |
|
|
### direct log messages to stdout ###
|
11 |
|
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
12 |
|
|
log4j.appender.stdout.Target=System.out
|
13 |
|
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
14 |
|
|
|
15 |
|
|
# for single threaded applications:
|
16 |
|
|
#log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
|
17 |
|
|
|
18 |
|
|
# for multi threaded applications:
|
19 |
|
|
log4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %C{2} (%F:%L) - %m%n
|
20 |
|
|
|
21 |
|
|
log4j.rootLogger=warn, stdout
|
22 |
|
|
|
23 |
|
|
log4j.logger.org.apache.http.impl.conn = info
|
24 |
|
|
log4j.logger.org.apache.http.impl.conn.Wire = info
|
25 |
|
|
|
26 |
b25fc9c9
|
Andreas Kohlbecker
|
log4j.logger.org.bgbm.biovel.drf = debug
|
27 |
b84bdb82
|
Andreas Kohlbecker
|
|