/[xulu]/branches/1.8-gt2-2.6/defaults/plugin/LoggerPlugin/log4j.cfg
ViewVC logotype

Annotation of /branches/1.8-gt2-2.6/defaults/plugin/LoggerPlugin/log4j.cfg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Wed Feb 25 11:54:01 2009 UTC (15 years, 9 months ago) by mojays
Original Path: trunk/defaults/plugin/LoggerPlugin/log4j.cfg
File size: 1872 byte(s)
First Commit, corresponds to Revision 1008 of Wikisquare-SVN 
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     log4j.appender.XULULOG.File = log\\xulu.log
11     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     log4j.appender.CLUELOG.File = log\\clue_log.csv
19     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     log4j.rootLogger = ERROR, CONSOLE
28    
29     # Applikations-Logger definieren
30     log4j.logger.edu.bonn.xulu = ERROR, XULULOG
31    
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    

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26