1 |
mojays |
2 |
# Consolen-Appender mit TTCC-Layout definieren |
2 |
|
|
log4j.appender.CONSOLE = org.apache.log4j.ConsoleAppender |
3 |
|
|
log4j.appender.CONSOLE.layout = org.apache.log4j.PatternLayout |
4 |
|
|
log4j.appender.CONSOLE.layout.ConversionPattern =%d{yyyy-MM-dd\thh:mm:ss}\t%r\t%p\t%c\t%m%n |
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
# File-Appender "xulu.log" mit TTCC-Layout definieren |
9 |
|
|
log4j.appender.XULULOG = org.apache.log4j.RollingFileAppender |
10 |
mojays |
9 |
log4j.appender.XULULOG.File = log/xulu.log |
11 |
mojays |
2 |
log4j.appender.XULULOG.MaxFileSize = 10MB |
12 |
|
|
log4j.appender.XULULOG.layout = org.apache.log4j.PatternLayout |
13 |
|
|
log4j.appender.XULULOG.layout.ConversionPattern =%d{yyyy-MM-dd\thh:mm:ss}\t%r\t%p\t%c\t%m%n |
14 |
|
|
|
15 |
|
|
|
16 |
|
|
# File-Appender "clue_log.csv" mit TTCC-Layout definieren |
17 |
|
|
log4j.appender.CLUELOG = org.apache.log4j.RollingFileAppender |
18 |
mojays |
9 |
log4j.appender.CLUELOG.File = log/clue_log.csv |
19 |
mojays |
2 |
log4j.appender.CLUELOG.MaxFileSize = 10MB |
20 |
|
|
#log4j.appender.CLUELOG.append = false |
21 |
|
|
log4j.appender.CLUELOG.layout = org.apache.log4j.PatternLayout |
22 |
|
|
#log4j.appender.CLUELOG.layout.ConversionPattern =%d{yyyy-MM-dd;hh:mm:ss};%r;%p;%c;%C:%L;%m%n |
23 |
|
|
log4j.appender.CLUELOG.layout.ConversionPattern =%d{yyyy-MM-dd|hh:mm:ss}|%r|%p|%c|%C:%L|%m%n |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
# Root-Logger definieren |
27 |
mojays |
83 |
log4j.rootLogger = WARN, CONSOLE |
28 |
mojays |
2 |
|
29 |
|
|
# Applikations-Logger definieren |
30 |
mojays |
83 |
log4j.logger.edu.bonn.xulu = WARN, XULULOG |
31 |
mojays |
2 |
|
32 |
|
|
# Modell-Logger |
33 |
|
|
# --> alle Log-Ausgaben von Modellen sollen nicht auch noch in die Xulu-Log |
34 |
|
|
# geschrieben oder auf der Console ausgegeben werden (edu.bonn.xulu.model.XXX |
35 |
|
|
# erbt Appender von edu.bonn.xulu) |
36 |
|
|
# --> Dummy-Logger erzeugen ohne Additivitaet (und ohne Appender) |
37 |
|
|
log4j.logger.edu.bonn.xulu.plugin.model = OFF |
38 |
|
|
log4j.additivity.edu.bonn.xulu.plugin.model = FALSE |
39 |
|
|
|
40 |
|
|
log4j.logger.edu.bonn.xulu.plugin.model.ClueModel = OFF, CLUELOG |
41 |
|
|
log4j.logger.edu.bonn.xulu.plugin.model.ClueModel_Optimized = OFF, CLUELOG |
42 |
|
|
|