#
#    Licensed to the Apache Software Foundation (ASF) under one or more
#    contributor license agreements.  See the NOTICE file distributed with
#    this work for additional information regarding copyright ownership.
#    The ASF licenses this file to You 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.
#

# Set root logger level to WARN and its only appender to CONSOLE
log4j.rootLogger=OFF, CONSOLE

# log4j properties to work with commandline tools.
log4j.category.org.mortbay=OFF
log4j.category.org.hibernate.type=OFF
log4j.category.org.objectweb=OFF
log4j.category.org.apache.ode.axis2=OFF
log4j.category.org.apache.ode.bpel.engine=DEBUG
log4j.category.org.apache.ode.bpel.runtime=DEBUG
log4j.category.org.apache.ode.dao.jpa.CorrelatorDaoImpl=OFF
log4j.category.org.apache.ode.dao.jpa=OFF
log4j.category.org.apache.ode.bpel.epr=OFF
log4j.category.org.apache.ode.bpel.compiler=OFF
log4j.category.org.apache.tuscany.sca.implementation.bpel=OFF
log4j.category.org.apache.tuscany.sca.implementation.bpel.ode=OFF
log4j.category.org.apache.tuscany.sca.implementation.bpel.ode.provider=OFF

# openJPA logging
log4j.category.openjpa.Tool=INFO
log4j.category.openjpa.Runtime=WARN
log4j.category.openjpa.Remote=WARN
log4j.category.openjpa.DataCache=WARN
log4j.category.openjpa.MetaData=WARN
log4j.category.openjpa.Enhance=WARN
log4j.category.openjpa.Query=OFF
log4j.category.openjpa.jdbc.SQL=OFF
log4j.category.openjpa.jdbc.JDBC=OFF
log4j.category.openjpa.jdbc.Schema=WARN

# Console appender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=[%p] - %C{1}.%M(%L) | %m%n
