blob: eab38a61e550c6ea2c7c4934dfa6be9b6660a784 [file] [log] [blame]
Till Westmann276bbc22013-06-05 18:56:27 -07001#/*
2# Copyright 2009-2013 by The Regents of the University of California
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# you may obtain a copy of the License from
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#*/
buyingyi657ce582013-03-11 06:49:18 +000015#------------------------------------------------------------------------------
16#
17# The following properties set the logging levels and log appender. The
18# log4j.rootCategory variable defines the default log level and one or more
19# appenders. For the console, use 'S'. For the daily rolling file, use 'R'.
20# For an HTML formatted log, use 'H'.
21#
22# To override the default (rootCategory) log level, define a property of the
23# form (see below for available values):
24#
25# log4j.logger. =
26#
27# Available logger names:
28# TODO
29#
30# Possible Log Levels:
31# FATAL, ERROR, WARN, INFO, DEBUG
32#
33#------------------------------------------------------------------------------
34log4j.rootCategory=INFO, S
35
36log4j.logger.com.dappit.Dapper.parser=ERROR
37log4j.logger.org.w3c.tidy=FATAL
38
39#------------------------------------------------------------------------------
40#
41# The following properties configure the console (stdout) appender.
42# See http://logging.apache.org/log4j/docs/api/index.html for details.
43#
44#------------------------------------------------------------------------------
45log4j.appender.S = org.apache.log4j.ConsoleAppender
46log4j.appender.S.layout = org.apache.log4j.PatternLayout
47log4j.appender.S.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
48
49#------------------------------------------------------------------------------
50#
51# The following properties configure the Daily Rolling File appender.
52# See http://logging.apache.org/log4j/docs/api/index.html for details.
53#
54#------------------------------------------------------------------------------
55log4j.appender.R = org.apache.log4j.DailyRollingFileAppender
56log4j.appender.R.File = logs/bensApps.log
57log4j.appender.R.Append = true
58log4j.appender.R.DatePattern = '.'yyy-MM-dd
59log4j.appender.R.layout = org.apache.log4j.PatternLayout
60log4j.appender.R.layout.ConversionPattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
61
62#------------------------------------------------------------------------------
63#
64# The following properties configure the Rolling File appender in HTML.
65# See http://logging.apache.org/log4j/docs/api/index.html for details.
66#
67#------------------------------------------------------------------------------
68log4j.appender.H = org.apache.log4j.RollingFileAppender
69log4j.appender.H.File = logs/bensApps.html
70log4j.appender.H.MaxFileSize = 100KB
71log4j.appender.H.Append = false
72log4j.appender.H.layout = org.apache.log4j.HTMLLayout