Platform Framework
R24 AMR | Min(s) read

Default Log API Configuration

This section describes the default Log4j and Log4j2 configuration.

The default runtime configuration uses either the Log4j 1.2 or Log4j 2 configuration.

Since PB201607 (June 2016 release), historical Log4j 1.2 configuration is switched to Log4j 2 configuration.

When you upgrade from an existing TAFJ installation to PB201607 and higher, any older existing TAFJTrace.properties will be overridden to fit Log4j 2 format.

For backward compatibility, it is still possible to use Log4j 1.2 but not recommended as further logging enhancements are not supported with the Log4j version.

Log4j Configuration

You can find the Log4j configuration in the TAFJTrace.properties file. For more information, see https://logging.apache.org/log4j/1.2/manual.html.

log4j.debug=false

log4j.rootLogger=OFF

log4j.logger.T24=INFO, t24

log4j.logger.BASIC=ERROR, basic

log4j.logger.PRINTER=ERROR, printer

log4j.logger.DATABASE=ERROR, database

log4j.logger.JQL=ERROR, jql

log4j.logger.LOCKING=INFO, locking

log4j.logger.COMPILER=WARN, compiler

log4j.logger.DEPENDENCY=INFO, dependency

log4j.logger.RUNTIME=ERROR, runtime

log4j.logger.DBIMPORT=ERROR, dbimport

log4j.logger.SQLTRACE=ERROR, sqltrace

log4j.logger.ITYPE=ERROR, itype

log4j.logger.EXECUTE=ERROR, execute

log4j.logger.IOSERVER=INFO, ioserver

log4j.logger.MDB=ERROR, mdb

log4j.logger.EJB=ERROR, ejb

log4j.logger.MONITOR=ERROR, monitor

log4j.logger.API=INFO, api

Log4j2 Configuration

You can find the Log4j 2 configuration in the TAFJTrace.properties file. For more information, see http://logging.apache.org/log4j/2.x/.

loggers = API,BASIC,CACHE,COHERENCE,COMPILER,COMPONENT_BUILDER,COMPONENT_USAGE,DATABASE,DATABASE_RO,DBIMPORT,DBIMPORT_COMPARER,DEPENDENCY,DBTOOLS,EJB,EXECUTE,FILTER,ITYPE,JQL,JQL_NOTSUPPORTED,LOCKING,MDB,PRINTER,RUNTIME,SANITYCHECK,SQLTRACE,T24,TRUN,UPDATER,WRITEOUTOFTRANS,

logger.API.name = API

logger.API.level = ERROR

logger.API.additivity = false

logger.API.appenderRefs = api

logger.API.appenderRef.api.ref = api

logger.BASIC.name = BASIC

logger.BASIC.level = ERROR

logger.BASIC.additivity = false

logger.BASIC.appenderRefs = basic

logger.BASIC.appenderRef.basic.ref = basic

logger.CACHE.name = CACHE

logger.CACHE.level = ERROR

logger.CACHE.additivity = false

logger.CACHE.appenderRefs = cache

logger.CACHE.appenderRef.cache.ref = cache

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:03:16 PM IST