Parameters for Tracing

Use

You configure the tracing function using the following parameters in the file defaults.properties and configuration.properties :

Parameters

Description

MobileEngine.Trace.Enabled

Activate or deactivate tracing (user-dependent)

Possible values: true , false .

Default value: true

MobileEngine.Trace.Filename

Storage location of the trace file (absolute or relative to the SAP MI installation file).

Possible values: any file name. If the file name begins with / , it is interpreted as relative to the installation directory.

Default value: /log/trace.txt

MobileEngine.Trace.Filesize

Maximum size of the trace file in KB

If the file size exceeds the given value, the system creates a backup file with the past traces and starts a new trace file. The old backup file is overwritten.

Possible values:

  • All positive integers corresponding to a 64-bit number.

  • -1 (no size restriction)

    Default value: 200

MobileEngine.Trace.Level

Trace level that is currently in effect.

Possible values:

  • 10 (System-critical errors only)

  • 50 (Error display)

  • 60 (Warning display)

  • 70 (Information display)

  • 80 (Execution paths display)

  • 90 (Debugging)

  • 1000 (All)

    Default value: 5 0

Tracing for Administrators

Parameters

Description

MobileEngine.AppLog.Enabled

Activate or deactivate tracing (user-dependent)

Possible values: true , false .

Default value: true

MobileEngine.AppLog.Filename

Storage location of the trace file (absolute or relative to the SAP MI installation file).

Possible values: any file name. If the file name begins with / , it is interpreted as relative to the installation directory.

Default value: /log/applog.txt

MobileEngine.AppLog.Filesize

Maximum size of the trace file in KB

If the file size exceeds the given value, the system creates a backup file with the past traces and starts a new trace file. The old backup file is overwritten.

Possible values:

  • All positive integers corresponding to a 64-bit number.

  • -1 (no size restriction)

    Default value: 200

MobileEngine.AppLog.Level

Trace level that is currently in effect.

Possible values:

  • 10 (System-critical errors only)

  • 50 (Error display)

  • 60 (Warning display)

  • 70 (Information display)

  • 80 (Execution paths display)

  • 90 (Debugging)

  • 1000 (All)

    Default value: 60

com.sap.tc.mobile.cfs.e2e.trace.enabled

Activate or deactivate end-to-end tracing support.

Possible values: true , false

Default value: false

Performance Trace

Parameters

Description

MobileEngine.SAT.Enabled

Activate or deactivate performance trace.

The trace is used for the runtime log and memory usage log between two specified measurement points.

To start the measurement, you use:

SatLog.methodStarted();

To start the measurement, you use:

SatLog.methodFinished("description");

Possible values: true , false

Default value: false