1
|
# /**
|
2
|
# * '$rcsfile: log4j.properties,v $'
|
3
|
# * copyright: 2002 regents of the university of california and the
|
4
|
# * national center for ecological analysis and synthesis
|
5
|
# * '$author: brooke $'
|
6
|
# * '$date: 2003/06/24 00:58:49 $'
|
7
|
# * '$revision: 1.1 $'
|
8
|
# *
|
9
|
# * this program is free software; you can redistribute it and/or modify
|
10
|
# * it under the terms of the gnu general public license as published by
|
11
|
# * the free software foundation; either version 2 of the license, or
|
12
|
# * (at your option) any later version.
|
13
|
# *
|
14
|
# * this program is distributed in the hope that it will be useful,
|
15
|
# * but without any warranty; without even the implied warranty of
|
16
|
# * merchantability or fitness for a particular purpose. see the
|
17
|
# * gnu general public license for more details.
|
18
|
# *
|
19
|
# * you should have received a copy of the gnu general public license
|
20
|
# * along with this program; if not, write to the free software
|
21
|
# * foundation, inc., 59 temple place, suite 330, boston, ma 02111-1307 usa
|
22
|
# */
|
23
|
#
|
24
|
#
|
25
|
################################################################################
|
26
|
################################################################################
|
27
|
#
|
28
|
# for conversion/formatting characters, see:
|
29
|
#
|
30
|
# http://logging.apache.org/log4j/docs/api/org/apache/log4j/PatternLayout.html
|
31
|
#
|
32
|
################################################################################
|
33
|
################################################################################
|
34
|
#
|
35
|
|
36
|
|
37
|
log4j.threshold=ALL
|
38
|
log4j.rootLogger=ALL, stdout
|
39
|
|
40
|
|
41
|
### LOGGING TO CONSOLE #########################################################
|
42
|
|
43
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
44
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
45
|
log4j.appender.stdout.layout.ConversionPattern=%c: [%p]: %m [Thread: %t]%n
|
46
|
|
47
|
################################################################################
|
48
|
|
49
|
|
50
|
# EXAMPLE: Print only messages of level WARN or above in the package com.foo:
|
51
|
# log4j.logger.com.foo=WARN
|
52
|
|
53
|
log4j.logger.edu.ucsb.nceas=DEBUG
|
54
|
|