-
Notifications
You must be signed in to change notification settings - Fork 2
/
log4j.properties
71 lines (62 loc) · 3.22 KB
/
log4j.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#-------------------------------------------------------------------------------
# Log4J properties file
#-------------------------------------------------------------------------------
# $Id: log4j.properties,v 1.3 2005/07/11 23:36:21 jacekrad Exp $
# $Name: release_0_0_8_alpha $
#-------------------------------------------------------------------------------
# Copyright (C) 2010 Swiss Library for the Blind, Visually Impaired and Print Disabled
#
# This file is part of dtbook2sbsform.
#
# dtbook2sbsform is free software: you can redistribute it
# and/or modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either
# version 3 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#-------------------------------------------------------------------------------
# TODO document me pls
#-------------------------------------------------------------------------------
log.home=.
file.appender=org.apache.log4j.FileAppender
xml.layout=org.apache.log4j.xml.XMLLayout
#-------------------------------------------------------------------------------
# UTF-X framework root logger
#-------------------------------------------------------------------------------
log4j.logger.utfx=DEBUG, logfile
#-------------------------------------------------------------------------------
# UTF-X framework logger
#-------------------------------------------------------------------------------
log4j.logger.utfx.framework=ERROR, console
#log4j.logger.utfx.framework=DEBUG, console
#-------------------------------------------------------------------------------
# UTF-X test generator logger
#-------------------------------------------------------------------------------
log4j.logger.utfx.test_generator=INFO, console
#-------------------------------------------------------------------------------
# unit test results logger
#-------------------------------------------------------------------------------
log4j.logger.utfx.test_results=INFO
#log4j.logger.utfx.test_results=DEBUG, console
log4j.logger.utfx.validation=INFO, console
#-------------------------------------------------------------------------------
# console appender
#-------------------------------------------------------------------------------
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.Target=System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=<%d> <%-5p> <%t> <%m>%n
#-------------------------------------------------------------------------------
# log file appender - the default UTF-X appender
#-------------------------------------------------------------------------------
log4j.appender.logfile=${file.appender}
log4j.appender.logfile.File=${log.home}/utfx_log.xml
log4j.appender.logfile.layout=${xml.layout}
log4j.appender.logfile.layout.LocationInfo=true