Till Westmann | 276bbc2 | 2013-06-05 18:56:27 -0700 | [diff] [blame^] | 1 | #/* |
| 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 | #*/ |
buyingyi | c73348c | 2012-11-02 00:31:31 +0000 | [diff] [blame] | 15 | #------------------------------------------------------------------------------ |
| 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 | #------------------------------------------------------------------------------ |
| 34 | log4j.rootCategory=INFO, S |
| 35 | |
| 36 | log4j.logger.com.dappit.Dapper.parser=ERROR |
| 37 | log4j.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 | #------------------------------------------------------------------------------ |
| 45 | log4j.appender.S = org.apache.log4j.ConsoleAppender |
| 46 | log4j.appender.S.layout = org.apache.log4j.PatternLayout |
| 47 | log4j.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 | #------------------------------------------------------------------------------ |
| 55 | log4j.appender.R = org.apache.log4j.DailyRollingFileAppender |
| 56 | log4j.appender.R.File = logs/bensApps.log |
| 57 | log4j.appender.R.Append = true |
| 58 | log4j.appender.R.DatePattern = '.'yyy-MM-dd |
| 59 | log4j.appender.R.layout = org.apache.log4j.PatternLayout |
| 60 | log4j.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 | #------------------------------------------------------------------------------ |
| 68 | log4j.appender.H = org.apache.log4j.RollingFileAppender |
| 69 | log4j.appender.H.File = logs/bensApps.html |
| 70 | log4j.appender.H.MaxFileSize = 100KB |
| 71 | log4j.appender.H.Append = false |
| 72 | log4j.appender.H.layout = org.apache.log4j.HTMLLayout |