Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Config Key

Mandatory/ Optional

Type

Purpose

LOGGING_ENABLED_IND

Mandatory

Boolean

This k is used to turn on or off logging by CT Framework. Turning this off would mean that even exceptions faced are not be logged to any log files.

log.path

Mandatory

Folder Name

This configuration holds the path where the log files are created. This path configured must be relative to the root path that is configured as CT_WORK_FOLDER_PATH in the implementation property file.

log.level

Optional

LOV

This configuration is for controlling the logging level. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

Category: Module Wise Log Level

log.level.audit

Optional

LOV

This key provides logging level for the audit handling module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.alert

Optional

LOV

This key provides logging level for the Alert handling module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.session

Optional

LOV

This key provides logging level for the Session management module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.web

Optional

LOV

This key provides logging level for the Web layer module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.config

Optional

LOV

This key provides logging level for the Configuration module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.cache

Optional

LOV

This key provides logging level for the Cache module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.security

Optional

LOV

This key provides logging level for the Security module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.database

Optional

LOV

This key provides logging level for the Database module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.entitlement

Optional

LOV

This key provides logging level for the Entitlement module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.event

Optional

LOV

This key provides logging level for the Event definition and handling module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.export

Optional

LOV

This key provides logging level for the Export module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.vdf

Optional

LOV

This key provides logging level for the metadata module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.hal

Optional

LOV

This key provides logging level for the Host Access Layer module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.report

Optional

LOV

This key provides logging level for the Reporting module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.validator

Optional

LOV

This key provides logging level for the Validation module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

log.level.scheduler

Optional

LOV

This key provides logging level for the Scheduler module. Possible values are - debug, error, info, fatal, warn, and off. Default value is debug.

Category: Log file related




rollovermodel

Optional

LOV

This key enables you to choose any of the following two models supported by Canvas Log appender namely:

  • CREATENEW – Current logging happens in the file name having the current date pattern and the highest rolling index value. This means that logging happens while creating a new file.
  • BACKUPOLD – Current logging would always happen in file name without date pattern and rolling index. On rollover, the current file is made as a backup with a date pattern and index included in it.

The default value is BACKUPOLD.

datepattern

Optional

date format

This key defines the following:

1. When the rollover must happen in any one of the following formats:

  • yyyy-MM – Rollover at the beginning of each month.
  • yyyy-ww – Rollover at the first day of each week. The first day of the week depends on the locale.
  • yyyy-MM-dd-a – Rollover at midnight and midday of each day.
  • yyyy-MM-dd-HH – Rollover at the top of every hour.
  • yyyy-MM-dd-HH-mm – Rollover at the beginning of every minute.


2. Date for the generated log file name in any of the following formats:

  • ddMMMyyyy – Generates the file name with date stamp in the ddMMMyyyy format, e.g. 20MAR2010.
  • yyyy-MM-dd – Generates the file name with date stamp in the yyyy-MM-dd format, e.g. 2010-03-20.


The default value is yyyy-MM-dd.

maxsizelimit

Optional

Size in MB, KB, MB or GB

This attribute decides on the maximum file size of a log file considering the rollover period. When the file size exceeds the set value, a new file with same period is generated with rolling index incremented by one. The appender expects size value in "KB", "MB" or "GB". The default value is 10MB10 MB.

suffixorprefix

Optional

LOV

This key expects any one of the following values to create the log file name:

  • SUFFIX – The appender creates the log file name as:<filename><patternSeparator><datePattern><patternSeparator><rollingIndex>.<extension>
  • PREFIX – The appender creates the log file name as:<filename>.<extension><patternSeparator><datePattern><patternSeparator><rollingIndex>

patternseparator

Optional

Any Character

This key provides the character that is used as a separator in the date pattern in the file name.
The default used is – (hyphen).

...