Log_Configurator Service

Use

This service provides possibility for:

  • generating CCMS template files
  • including stacktrace for log records.

Activities

To go to this service:

  1. Start the Config Tool by double clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory.
  2. Choose cluster-data → <template_name> or <instance_number> → services → log_configurator.

Features

Property Description Default Value

CCMSDoNotGenerateTemplateForFilename

Specifies the files for which CCMS templates are not created.

.trc;

CCMSGenerateTemplateForFilename

Specifies the files for which CCMS templates are created.

You can use both file patterns or file names to specify the files.

.log;

CCMSTemplateGenerationFlag

Enables or disables CCMS template files generation.

If the value is set to " 1 ", the CCMS template files are generated. If the value is set to " 0 " or any other value different from " 1 ", the CCMS template files generation are deactivated.

1

 

IncludeStackTraceForEachRecord

Enables or disables a SAP Logging API feature that includes full stacktrace for each log message. Thus, it shows the call that issued it.

When the value is True , this affects the performance.

False

SpecificLocations

This property depends on the value of

IncludeStackTraceForEachRecord. If the value is set as False , the property SpecificLocations is inactive. If the value is set as True , the following values for SpecificLocations are available:

  • ALL (default) -  enables including full stacktrace for the log messages in all AS Java locations.
  • A list of locations - the full stacktrace is included only for the listed locations as well as their children.

    For example: com.sap.engine;com.sap.ejb.com; com.sap.sql ….

ALL

 

The properties IncludeStackTraceForEachRecord and SpecificLocations are displayed only in expert mode view. Choose View → Expert Mode.

Both properties are "online modifiable", that is you can configure them at runtime from SAP NetWeaver Administrator. More information: Java System Properties

 

More Information

Log Configuration