ApexLog
Records execution logs for Apex transactions, debugging, and performance monitoring in Salesforce.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the Apex debug log. | |
| LogUserId | String | True |
User.Id |
ID of the user who generated the log. |
| LogUserIdType | String | False |
Specifies the type of the 'LogUserId' polymorphic field to use in the statement. | |
| LogUserIdExternalFieldName | String | False |
Specifies the external field name of the 'LogUserId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| LogLength | Int | True |
Size of the log file in bytes. | |
| Request | String | True |
The type of request that generated the log, such as API call or UI interaction. | |
| Operation | String | True |
The specific operation that was performed, such as login, query, or DML. | |
| Application | String | True |
Name of the application or context where the request originated. | |
| Status | String | True |
Execution status of the request, such as Success or Failed. | |
| DurationMilliseconds | Int | True |
Total time taken to execute the request, measured in milliseconds. | |
| StartTime | Datetime | True |
Time at which the execution that generated the log began. | |
| Location | String | True |
Source location of the request, such as a Salesforce page or API call origin. | |
| RequestIdentifier | String | True |
Field containing RequestIdentifier information. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| SystemModstamp | Datetime | True |
System-generated timestamp used for replication and synchronization. | |
| LastModifiedDate | Datetime | True |
Timestamp of when the log was last updated. |