source: sinadura/trunk/fuentes/sinadura.i386/resources/log4j.properties @ 536

Last change on this file since 536 was 536, checked in by daduve, 4 years ago

Adding files

File size: 1.6 KB
Line 
1# loggers
2
3##########################################
4## dejar el root siempre a INFO
5log4j.rootLogger=INFO, fileout, stdout
6##########################################
7
8log4j.logger.org.apache.xml.security=INFO, fileout, stdout
9log4j.additivity.org.apache.xml.security=false
10
11log4j.logger.es.mityc=DEBUG, fileout, stdout
12log4j.additivity.es.mityc=false
13
14log4j.logger.net.esle.sinadura=DEBUG, fileout, stdout
15log4j.additivity.net.esle.sinadura=false
16
17log4j.logger.Statistics.Sinadura=INFO, statistics
18
19
20# appenders
21log4j.appender.stdout=org.apache.log4j.ConsoleAppender
22log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
23log4j.appender.stdout.layout.ConversionPattern=%d{DATE} - %-5p - %l - %m%n
24
25log4j.appender.fileout=org.apache.log4j.RollingFileAppender
26log4j.appender.fileout.File=${user.home}${file.separator}.sinadura${file.separator}log${file.separator}sinadura.log
27log4j.appender.fileout.Append=true
28log4j.appender.fileout.MaxFileSize=1MB
29log4j.appender.fileout.MaxBackupIndex=2
30log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
31log4j.appender.fileout.layout.ConversionPattern=%d{DATE} - %-5p - %l - %m%n
32
33log4j.appender.statistics=net.esle.sinadura.gui.util.RollingFileAppenderExtended
34log4j.appender.statistics.File=${user.home}${file.separator}.sinadura${file.separator}statistics${file.separator}statistics.csv
35log4j.appender.statistics.Append=true
36log4j.appender.statistics.MaxFileSize=40KB
37log4j.appender.statistics.MaxBackupIndex=1
38log4j.appender.statistics.layout=org.apache.log4j.PatternLayout
39log4j.appender.statistics.layout.ConversionPattern=%d{dd/MM/yyyy-HH:mm:ss};%m%n
Note: See TracBrowser for help on using the repository browser.