Skip to content

Latest commit

 

History

History
187 lines (118 loc) · 5.45 KB

default-trace-file-1b651b3.md

File metadata and controls

187 lines (118 loc) · 5.45 KB

Default Trace File

Remember:

SAP Business Technology Platform, Neo environment will sunset on December 31, 2028, subject to terms of customer or partner contracts.

For more information, see SAP Note 3351844.

Tip:

This documentation refers to SAP Business Technology Platform, Neo environment. If you are looking for documentation about other environments, see SAP Business Technology Platform ↗️.

Context

This page describes the format of the Default Trace file. You can view this file for your Web applications via the cockpit.

For more information, see Investigating Performance Issues Using the SQL Trace.

Default Trace Header

Parameter

Description

FILE_TYPE

The type of the Default Trace

FILE_ID

The identifier of the Default Trace

ENCODING

The encoding type used in the cloud database

RECORD_SEPARATOR

ASCII symbol for separating the log records. In our case, it is "|" (ASCII code: 124)

COLUMN_SEPARATOR

ASCII symbol for separating the columns in the Default Trace. In our case, it is "#" (ASCII code: 35)

ESC_CHARACTER

ASCII symbol for escape. In our case, it is "\" (ASCII code: 92)

COLUMNS

Each log record contains the following information in the order displayed in the log file header: Time, TZone, Severity, Logger, ACH, User, Thread, Bundle name, JPSpace, JPAppliance, JPComponent, Tenant Alias, and Text.

SEVERITY_MAP

The severity map represents the following severity levels order:

FINEST|Information|FINER|Information|FINE|Information|CONFIG|Information|DEBUG|Information|PATH|Information|INFO|Information|WARNING|Warning|ERROR|Error|SEVERE|Error|FATAL|Error

HEADER_END

 

Besides the main log information, the Default Trace logs information about the tenant users that have accessed a relevant Web application. This information is provided in the new Tenant Alias column parameter, which is automatically logged by the runtime. The Tenant Alias is:

  • A human-readable string;
  • For new accounts, it is shorter than the tenant ID (8-30 characters);
  • Unique for the relevant SAP BTP landscape;
  • Equal to the account name (for new accounts); might be equal to the tenant ID (for old accounts).

Example

In this example, the application has been accessed on behalf of two tenants - with identifiers 42e00744-bf57-40b1-b3b7-04d1ca585ee3 and 5c42eee4-d5ad-494e-9afb-2be7e55d0f9c.

FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2
FILE_ID:1391169413918
ENCODING:[UTF8|NWCJS:ASCII]
RECORD_SEPARATOR:124
COLUMN_SEPARATOR:35
ESC_CHARACTER:92
COLUMNS:Time|TZone|Severity|Logger|ACH|User|Thread|Bundle name|JPSpace|JPAppliance|JPComponent|Tenant Alias|Text|
SEVERITY_MAP:FINEST|Information|FINER|Information|FINE|Information|CONFIG|Information|DEBUG|Information|PATH|Information|INFO|Information|WARNING|Warning|ERROR|Error|SEVERE|Error|FATAL|Error
HEADER_END

2014 01 31 12:07:09#+00#INFO#com.sap.demo.tenant.context.TenantContextServlet##anonymous#http-bio-8041-exec-1##myaccount#myapplication#web#null#null#myaccount#The app was accessed on behalf of tenant with ID: '42e00744-bf57-40b1-b3b7-04d1ca585ee3'|
2014 01 31 12:08:30#+00#INFO#com.sap.demo.tenant.context.TenantContextServlet##anonymous#http-bio-8041-exec-3##myaccount#myapplication#web#null#null#subscriberaccount#The app was accessed on behalf of tenant with ID: '5c42eee4-d5ad-494e-9afb-2be7e55d0f9c'|


Related Information

Logging for the Neo Environment

Developing Multitenant Applications in the Neo Environment