Parameters for Tracing
You configure the tracing function using the following parameters in the file MobileEngine.config:
Tracing for Developers and Support
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: 50 |
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 |
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 (see
To start the measurement, you use: SatLog.methodStarted(); To start the measurement, you use: SatLog.methodFinished("description"); Possible values: true, false Default value: false |
See also:
For more information about other parameters: Parameters in MobileEngine.config
For more information about different methods for the configuration: Configuration of Mobile Devices
For more
information on activating tracing on the client:
Activating Tracing on
the Mobile Device