Formatter Settings

With formatter settings you define what information is included in the log file in addition to actual log entries, and how the log file is formatted. To configure formatter settings, click the Filter icon, and choose Show Logging Formatter Settings in the second step of the logging configuration wizard.

Table 1. Logging Formatters

Name

Description

Log.Formatter

Select one of the following formats:

  • BCM: The default value, prints the file with the extension .log.

  • GLF: Generic Logfile Format, prints the file with the extension .glf. Prints category, module name and format by default. Enables using the Log Viewer and SAP Solution Manager for analyzing and managing logs.

  • List: List Log format, prints the file with the extension .log. Prints category and module name by default.

FieldDelimiter

ASCII code number of character used to delimit fields (default: 35, #). Applies only to GLF- and List- formatted logs.

IncludeCategory

Prints the related logging category to each log entry (default: false).

IncludeDate

Prints date to each log entry (YYYY-MM-DD) (default: false).

IncludeExtra

Prints the optional extra text to each log entry, for example resource name (deprecated).

IncludeFileFormatHeader

Prints log format-specific header to beginning of each file (default: false).

IncludeLevel

Prints the severity to each log entry.

IncludeModule

Prints the related logging module to each log entry (default: false).

IncludeObject

Prints the logging object name to each log entry.

IncludeThreadId

Prints the thread ID number to each log entry.

IncludeThreadName

Prints the thread name to each log entry.

IncludeThreadPrefix

Prints the thread specific prefix to each log entry.

IncludeTime

Prints time to each log entry (HH:mm:ss.mmm).

MaxThreadPadding

Defines the minimum length of the thread name/ID-field when printed in Pretty mode, the default value is 15. Can be used to align columns of the log file. Very long thread names are not padded. Applies only to bcm-formatted logs.

Pretty

Prints easier to read, but possibly more spacious log. Applies only to bcm-formatted logs.

RecordDelimiter

ASCII code number of character used to delimit log record (default: 10,LineFeed). Applies only to GLF- and List- formatted logs.

(no value) indicates that the default value is used.

Formatters cannot be applied to File Replication Server and Web Service Tester.