blob: 784a27401a9bbcfa58a739519b9620b5f887842c [file] [log] [blame]
buyingyi657ce582013-03-11 06:49:18 +00001#------------------------------------------------------------------------------
2#
3# The following properties set the logging levels and log appender. The
4# log4j.rootCategory variable defines the default log level and one or more
5# appenders. For the console, use 'S'. For the daily rolling file, use 'R'.
6# For an HTML formatted log, use 'H'.
7#
8# To override the default (rootCategory) log level, define a property of the
9# form (see below for available values):
10#
11# log4j.logger. =
12#
13# Available logger names:
14# TODO
15#
16# Possible Log Levels:
17# FATAL, ERROR, WARN, INFO, DEBUG
18#
19#------------------------------------------------------------------------------
20log4j.rootCategory=INFO, S
21
22log4j.logger.com.dappit.Dapper.parser=ERROR
23log4j.logger.org.w3c.tidy=FATAL
24
25#------------------------------------------------------------------------------
26#
27# The following properties configure the console (stdout) appender.
28# See http://logging.apache.org/log4j/docs/api/index.html for details.
29#
30#------------------------------------------------------------------------------
31log4j.appender.S = org.apache.log4j.ConsoleAppender
32log4j.appender.S.layout = org.apache.log4j.PatternLayout
33log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
34
35#------------------------------------------------------------------------------
36#
37# The following properties configure the Daily Rolling File appender.
38# See http://logging.apache.org/log4j/docs/api/index.html for details.
39#
40#------------------------------------------------------------------------------
41log4j.appender.R = org.apache.log4j.DailyRollingFileAppender
42log4j.appender.R.File = logs/bensApps.log
43log4j.appender.R.Append = true
44log4j.appender.R.DatePattern = '.'yyy-MM-dd
45log4j.appender.R.layout = org.apache.log4j.PatternLayout
46log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
47
48#------------------------------------------------------------------------------
49#
50# The following properties configure the Rolling File appender in HTML.
51# See http://logging.apache.org/log4j/docs/api/index.html for details.
52#
53#------------------------------------------------------------------------------
54log4j.appender.H = org.apache.log4j.RollingFileAppender
55log4j.appender.H.File = logs/bensApps.html
56log4j.appender.H.MaxFileSize = 100KB
57log4j.appender.H.Append = false
58log4j.appender.H.layout = org.apache.log4j.HTMLLayout