112 lines
4.6 KiB
Properties
112 lines
4.6 KiB
Properties
# 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.
|
|
|
|
|
|
#
|
|
# Isis uses log4j is used to provide system logging
|
|
#
|
|
log4j.rootCategory=INFO, Console
|
|
|
|
# The 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{ABSOLUTE} [%-20c{1} %-10t %-5p] %m%n
|
|
|
|
log4j.appender.File=org.apache.log4j.RollingFileAppender
|
|
log4j.appender.File.file=isis.log
|
|
log4j.appender.File.append=false
|
|
log4j.appender.File.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p] %m%n
|
|
|
|
log4j.appender.translations-po=org.apache.log4j.FileAppender
|
|
log4j.appender.translations-po.File=./translations.pot
|
|
log4j.appender.translations-po.Append=false
|
|
log4j.appender.translations-po.layout=org.apache.log4j.PatternLayout
|
|
log4j.appender.translations-po.layout.ConversionPattern=%m%n
|
|
|
|
! turn on the internal log4j debugging flag so we can see what it is doing
|
|
#log4j.debug=true
|
|
|
|
|
|
# DataNucleus
|
|
# the first two log the DML and DDL (if set to DEBUG)
|
|
log4j.logger.DataNucleus.Datastore.Native=WARN, Console
|
|
log4j.logger.DataNucleus.Datastore.Schema=DEBUG, Console
|
|
# the remainder can probably be left to WARN
|
|
log4j.logger.DataNucleus.Persistence=WARN, Console
|
|
log4j.logger.DataNucleus.Transaction=WARN, Console
|
|
log4j.logger.DataNucleus.Connection=WARN, Console
|
|
log4j.logger.DataNucleus.Query=WARN, Console
|
|
log4j.logger.DataNucleus.Cache=WARN, Console
|
|
log4j.logger.DataNucleus.MetaData=WARN, Console
|
|
log4j.logger.DataNucleus.Datastore=WARN, Console
|
|
log4j.logger.DataNucleus.Datastore.Persist=WARN, Console
|
|
log4j.logger.DataNucleus.Datastore.Retrieve=WARN, Console
|
|
log4j.logger.DataNucleus.General=WARN, Console
|
|
log4j.logger.DataNucleus.Lifecycle=WARN, Console
|
|
log4j.logger.DataNucleus.ValueGeneration=WARN, Console
|
|
log4j.logger.DataNucleus.Enhancer=WARN, Console
|
|
log4j.logger.DataNucleus.SchemaTool=ERROR, Console
|
|
log4j.logger.DataNucleus.JDO=WARN, Console
|
|
log4j.logger.DataNucleus.JPA=ERROR, Console
|
|
log4j.logger.DataNucleus.JCA=WARN, Console
|
|
log4j.logger.DataNucleus.IDE=ERROR, Console
|
|
|
|
log4j.additivity.DataNucleus.Datastore.Native=false
|
|
log4j.additivity.DataNucleus.Datastore.Schema=false
|
|
log4j.additivity.DataNucleus.Datastore.Persistence=false
|
|
log4j.additivity.DataNucleus.Datastore.Transaction=false
|
|
log4j.additivity.DataNucleus.Datastore.Connection=false
|
|
log4j.additivity.DataNucleus.Datastore.Query=false
|
|
log4j.additivity.DataNucleus.Datastore.Cache=false
|
|
log4j.additivity.DataNucleus.Datastore.MetaData=false
|
|
log4j.additivity.DataNucleus.Datastore.Datastore=false
|
|
log4j.additivity.DataNucleus.Datastore.Datastore.Persist=false
|
|
log4j.additivity.DataNucleus.Datastore.Datastore.Retrieve=false
|
|
log4j.additivity.DataNucleus.Datastore.General=false
|
|
log4j.additivity.DataNucleus.Datastore.Lifecycle=false
|
|
log4j.additivity.DataNucleus.Datastore.ValueGeneration=false
|
|
log4j.additivity.DataNucleus.Datastore.Enhancer=false
|
|
log4j.additivity.DataNucleus.Datastore.SchemaTool=false
|
|
log4j.additivity.DataNucleus.Datastore.JDO=false
|
|
log4j.additivity.DataNucleus.Datastore.JPA=false
|
|
log4j.additivity.DataNucleus.Datastore.JCA=false
|
|
log4j.additivity.DataNucleus.Datastore.IDE=false
|
|
|
|
|
|
|
|
|
|
# if using log4jdbc-remix as JDBC driver
|
|
#log4j.logger.jdbc.sqlonly=DEBUG, sql, Console
|
|
#log4j.additivity.jdbc.sqlonly=false
|
|
#log4j.logger.jdbc.resultsettable=DEBUG, jdbc, Console
|
|
#log4j.additivity.jdbc.resultsettable=false
|
|
|
|
#log4j.logger.jdbc.audit=WARN,jdbc, Console
|
|
#log4j.additivity.jdbc.audit=false
|
|
#log4j.logger.jdbc.resultset=WARN,jdbc
|
|
#log4j.additivity.jdbc.resultset=false
|
|
#log4j.logger.jdbc.sqltiming=WARN,sqltiming
|
|
#log4j.additivity.jdbc.sqltiming=false
|
|
#log4j.logger.jdbc.connection=FATAL,connection
|
|
#log4j.additivity.jdbc.connection=false
|
|
|
|
|
|
log4j.logger.org.apache.isis.core.runtime.services.i18n.po.PoWriter=INFO,translations-po
|
|
log4j.additivity.org.apache.isis.core.runtime.services.i18n.po.PotWriter=false
|