1 | #
|
---|
2 | # Licensed to the Apache Software Foundation (ASF) under one
|
---|
3 | # or more contributor license agreements. See the NOTICE file
|
---|
4 | # distributed with this work for additional information
|
---|
5 | # regarding copyright ownership. The ASF licenses this file
|
---|
6 | # to you under the Apache License, Version 2.0 (the
|
---|
7 | # "License"); you may not use this file except in compliance
|
---|
8 | # with the License. You may obtain a copy of the License at
|
---|
9 | #
|
---|
10 | # http://www.apache.org/licenses/LICENSE-2.0
|
---|
11 | #
|
---|
12 | # Unless required by applicable law or agreed to in writing,
|
---|
13 | # software distributed under the License is distributed on an
|
---|
14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
---|
15 | # KIND, either express or implied. See the License for the
|
---|
16 | # specific language governing permissions and limitations
|
---|
17 | # under the License.
|
---|
18 | #
|
---|
19 |
|
---|
20 | # Set root category priority to INFO and its only appender to CONSOLE.
|
---|
21 | log4j.rootCategory=INFO, CONSOLE
|
---|
22 | #log4j.rootCategory=INFO, CONSOLE, LOGFILE
|
---|
23 |
|
---|
24 | # Set the enterprise logger priority to FATAL
|
---|
25 | log4j.logger.org.apache.axis2.enterprise=FATAL
|
---|
26 | log4j.logger.de.hunsicker.jalopy.io=FATAL
|
---|
27 | log4j.logger.httpclient.wire.header=FATAL
|
---|
28 | log4j.logger.org.apache.commons.httpclient=FATAL
|
---|
29 |
|
---|
30 | # CONSOLE is set to be a ConsoleAppender using a PatternLayout.
|
---|
31 | log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
---|
32 | log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
---|
33 | log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n
|
---|
34 |
|
---|
35 | # LOGFILE is set to be a File appender using a PatternLayout.
|
---|
36 | log4j.appender.LOGFILE=org.apache.log4j.FileAppender
|
---|
37 | log4j.appender.LOGFILE.File=axis2.log
|
---|
38 | log4j.appender.LOGFILE.Append=true
|
---|
39 | log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
|
---|
40 | log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
|
---|
41 |
|
---|
42 |
|
---|
43 | # CBSE logging
|
---|
44 | log4j.logger.eu.pharos.kmi.cbse=ALL,CBSEFILE
|
---|
45 | log4j.appender.CBSEFILE=org.apache.log4j.RollingFileAppender
|
---|
46 | log4j.appender.CBSEFILE.maxFileSize=100MB
|
---|
47 | log4j.appender.CBSEFILE.maxBackupIndex=5
|
---|
48 | log4j.appender.CBSEFILE.File=/usr/local/pharos-greenstone3/packages/tomcat/logs/CBSE.log
|
---|
49 | log4j.appender.CBSEFILE.Append=true
|
---|
50 | log4j.appender.CBSEFILE.threshold=all
|
---|
51 | log4j.appender.CBSEFILE.layout=org.apache.log4j.PatternLayout
|
---|
52 | log4j.appender.CBSEFILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} <%-5p> [%t] %-15.15c{1} (%-.15x) - %m%n
|
---|