#********************************************************************
# *********    THIS IS THE AXIS2 LOG4J PROPERTIES FILE     **********
# at ... /catalina_home/webapps/axis2/WEB-INF/classes
#********************************************************************
log4j.debug=false
# -------------------------------------------------------------------
# Copyright 2001-2004 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -------------------------------------------------------------------

#***************** AXIS2 PART ***************************************
log4j.rootLogger=DEBUG, CONSOLE
#
# -------------------------------------------------------------------
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=%d %-5p %c - %m%n
## - take care that the end of the formatting string has NO SPACE'S !!!!!!!
log4j.appender.CONSOLE.layout.ConversionPattern=%d [%-5p] %c{2} (%F:%L) %m%n
log4j.appender.CONSOLE.Threshold=INFO

# -------------------------------------------------------------------
#- Set your loggers priority to what you need -----------------------
#     Logger logging             WHAT it logs   WHO is actually logging
log4j.logger.org.apache.axiom=WARN,             AX_CONS, AX_FAP, AX_ROLF, AX_CHAINSAW
log4j.logger.org.apache.axis2=INFO,             AX_CONS, AX_FAP, AX_ROLF, AX_CHAINSAW
log4j.logger.org.apache.axis2.deployment=DEBUG, AX_CONS, AX_FAP, AX_ROLF, AX_CHAINSAW
log4j.logger.org.apache.axis2.enterprise=INFO,  AX_CONS, AX_FAP, AX_ROLF, AX_CHAINSAW

# -------------------------------------------------------------------
log4j.additivity.org.apache.axiom=false
log4j.additivity.org.apache.axis2=false
log4j.additivity.org.apache.axis2.deployment=false
log4j.additivity.org.apache.axis2.enterprise=false

# -------------------------------------------------------------------
# AX_CONS is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.AX_CONS=org.apache.log4j.ConsoleAppender
log4j.appender.AX_CONS.layout=org.apache.log4j.PatternLayout
#log4j.appender.AX_CONS.layout.ConversionPattern=[%-5p] %m%n
## - take care that the end of the formatting string has NO SPACE'S !sepp was here!
log4j.appender.AX_CONS.layout.ConversionPattern=%d [%-5p] %c{2} (%F:%L) %m%n
log4j.appender.AX_CONS.Threshold=INFO
#
# -------------------------------------------------------------------
# AX_FAP is set to be a File appender using a PatternLayout. -------
log4j.appender.AX_FAP=org.apache.log4j.FileAppender
log4j.appender.AX_FAP.File=/axlog/axis2_SpServer.log
log4j.appender.AX_FAP.Append=false
log4j.appender.AX_FAP.layout=org.apache.log4j.PatternLayout
#log4j.appender.AX_FAP.layout.ConversionPattern=[%-5p] - %m%n
## - take care that the end of the formatting string has NO SPACE'S !!!!!!!
log4j.appender.AX_FAP.layout.ConversionPattern=%d [%-5p] %t (%F:%L): %m%n
log4j.appender.AX_FAP.Threshold=INFO
#
# -------------------------------------------------------------------
# AX_ROLF is a rolling file appender  --- not used yet / no need to parse
log4j.appender.AX_ROLF=org.apache.log4j.RollingFileAppender 
log4j.appender.AX_ROLF.Append=true
log4j.appender.AX_ROLF.File=/axlog/axis2_rolf.log
log4j.appender.AX_ROLF.MaxFileSize=2MB 
log4j.appender.AX_ROLF.MaxBackupIndex=10 
log4j.appender.AX_ROLF.layout=org.apache.log4j.PatternLayout 
#log4j.appender.AX_ROLF.layout.ConversionPattern=[%-5p] %t %c - %m%n 
## - take care that the end of the formatting string has NO SPACE'S !!!!!!!
log4j.appender.AX_ROLF.layout.ConversionPattern=%d [%-5p] %t %c (%F:%L): %m%n
log4j.appender.AX_ROLF.Threshold=DEBUG
#
# -------------------------------------------------------------------
# AX_CHAINSAW is an appender sending to a remote host GUI -------
#  feeding the AX_CHAINSAW client listening on TCP/IP port 4450
log4j.appender.AX_CHAINSAW=org.apache.log4j.net.SocketHubAppender
log4j.appender.AX_CHAINSAW.Port=4450
log4j.appender.AX_CHAINSAW.LocationInfo=true

# rule of dumb: each log4j.logger... needs one or more appenders !!!!
#
# -------------------------------------------------------------------
# Set the enterprise logger priority to FATAL
log4j.logger.de.hunsicker.jalopy.io=INFO, 			CONSOLE
log4j.logger.httpclient.wire.header=INFO, 			CONSOLE
log4j.logger.org.apache.commons.httpclient=INFO, 		CONSOLE

# -------------------------------------------------------------------
#- create the SpServer Logger ---------------------------------------
# this is the CONFIGURED logger for the SpServer.java JavaPart
# the Configurator strips of the logger_prefix "log4j.logger."
#  the logger is then known in the hierarchy as
#   "axawl.spezpla.servers.SpezplaService.SpServer"
#    retrive this configured logger from log4j.hierarchy through
#     Logger log = Logger.getLogger(SpServer.class);
log4j.logger.com.axa.ch.spezpla.servers.SpezplaService.SpServer=INFO, AX_FAP, AX_CHAINSAW

# -------------------------------------------------------------------
# to prevent that logging events are propagated to parent loggers
# and finally arrive at the root loggers appender, printed to the root-
# loggers files i.e. additivity must be set to false to prevent this.
# please goto http://logging.apache.org/log4j/1.2/manual.html and read
# the short manual or buy the full manual
log4j.additivity.com.axa.ch.spezpla.servers.SpezplaService.SpServer=false