Please see the 2018 version of this post - Salesforce Log Categories and Events by Level - Revisited
The following table shows the Apex logging events that occur at each logging level by logging category. Logging events from higher levels also appear in all the lower levels.
The data is similar to that available through the Salesforce page that sets the debug log filters. That page shows the events dynamically based on the selected level in each category. Here I've currently gone for a static approach to make it more searchable.
The table is currently really wide and will probably be hard to read on lower resolution screens. I'll play around with it over time to see if the layout can be improved.
Logging Level / Category |
System |
Visualforce |
Apex Profiling |
Apex Code |
Callout |
Validation |
Workflow |
Database |
ERROR |
|
|
|
- USER_DEBUG[LoggingLevel.Error]
- CODE_UNIT_STARTED, CODE_UNIT_FINISHED
- EXECUTION_STARTED, EXECUTION_FINISHED
- FATAL_ERROR
- PUSH_NOTIFICATION_INVALID_CERTIFICATE
- PUSH_NOTIFICATION_INVALID_APP
- PUSH_NOTIFICATION_INVALID_NOTIFICATION
|
|
|
- WF_FLOW_ACTION_ERROR
- WF_FLOW_ACTION_ERROR_DETAIL
- FLOW_CREATE_INTERVIEW_ERROR
- FLOW_START_INTERVIEWS_ERROR
- FLOW_ELEMENT_ERROR
|
|
WARN |
|
|
|
- USER_DEBUG[LoggingLevel.Warn]
|
|
|
|
|
INFO |
- POP_TRACE_FLAGS, PUSH_TRACE_FLAGS
- SYSTEM_MODE_ENTER, SYSTEM_MODE_EXIT
- DUPLICATE_DETECTION_BEGIN, DUPLICATE_DETECTION_END
- DUPLICATE_DETECTION_RULE_INVOCATION
- DUPLICATE_DETECTION_MATCH_INVOCATION_SUMMARY
- MATCH_ENGINE_BEGIN, MATCH_ENGINE_END
- MATCH_ENGINE_INVOCATION
|
- VF_SERIALIZE_VIEWSTATE_BEGIN, VF_SERIALIZE_VIEWSTATE_END
- VF_DESERIALIZE_VIEWSTATE_BEGIN, VF_DESERIALIZE_VIEWSTATE_END
- VF_SERIALIZE_CONTINUATION_STATE_BEGIN, VF_SERIALIZE_CONTINUATION_STATE_END
- VF_DESERIALIZE_CONTINUATION_STATE_BEGIN, VF_DESERIALIZE_CONTINUATION_STATE_END
|
- CUMULATIVE_LIMIT_USAGE, CUMULATIVE_LIMIT_USAGE_END
- TESTING_LIMITS
|
- USER_DEBUG[LoggingLevel.Info]
- EMAIL_QUEUE
- ENTERING_MANAGED_PKG
- EXCEPTION_THROWN
- VF_APEX_CALL
- VF_PAGE_MESSAGE
- BULK_COUNTABLE_STATEMENT_EXECUTE
- HEAP_DUMP
- SCRIPT_EXECUTION
- PUSH_NOTIFICATION_NOT_ENABLED
|
- CALLOUT_REQUEST, CALLOUT_RESPONSE
|
- VALIDATION_ERROR
- VALIDATION_FAIL
- VALIDATION_FORMULA
- VALIDATION_PASS
- VALIDATION_RULE
|
- SLA_END
- SLA_EVAL_MILESTONE
- SLA_NULL_START_DATE
- SLA_PROCESS_CASE
- WF_ACTION
- WF_ACTION_TASK
- WF_ACTIONS_END
- WF_APPROVAL
- WF_APPROVAL_REMOVE
- WF_APPROVAL_SUBMIT
- WF_ASSIGN
- WF_CRITERIA_BEGIN
- WF_CRITERIA_END
- WF_EMAIL_ALERT
- WF_EMAIL_SENT
- WF_ENQUEUE_ACTIONS
- WF_ESCALATION_ACTION
- WF_ESCALATION_RULE
- WF_EVAL_ENTRY_CRITERIA
- WF_FIELD_UPDATE
- WF_FORMULA
- WF_HARD_REJECT
- WF_NEXT_APPROVER
- WF_NO_PROCESS_FOUND
- WF_OUTBOUND_MSG
- WF_PROCESS_NODE
- WF_REASSIGN_RECORD
- WF_RESPONSE_NOTIFY
- WF_RULE_ENTRY_ORDER
- WF_RULE_EVAL_BEGIN
- WF_RULE_EVAL_END
- WF_RULE_EVAL_VALUE
- WF_RULE_FILTER
- WF_RULE_INVOCATION
- WF_RULE_NOT_EVALUATED
- WF_SOFT_REJECT
- WF_SPOOL_ACTION_BEGIN
- WF_TIME_TRIGGER
- WF_TIME_TRIGGERS_BEGIN
- WF_KNOWLEDGE_ACTION
- WF_SEND_ACTION
- WF_CHATTER_POST
- WF_QUICK_CREATE
- WF_FLOW_ACTION_BEGIN
- WF_FLOW_ACTION_END
- WF_APEX_ACTION
- FLOW_CREATE_INTERVIEW_BEGIN
- FLOW_CREATE_INTERVIEW_END
- FLOW_START_INTERVIEWS_BEGIN
- FLOW_START_INTERVIEWS_END
- FLOW_START_INTERVIEW_BEGIN
- FLOW_START_INTERVIEW_END
|
- DML_BEGIN, DML_END
- QUERY_MORE_ITERATIONS
- SAVEPOINT_SET, SAVEPOINT_ROLLBACK
- SOQL_EXECUTE_BEGIN, SOQL_EXECUTE_END
- SOSL_EXECUTE_BEGIN, SOSL_EXECUTE_END
|
DEBUG |
- DUPLICATE_DETECTION_MATCH_INVOCATION_DETAILS
|
|
|
- USER_DEBUG[LoggingLevel.Debug - Default]
- PUSH_NOTIFICATION_NO_DEVICES
- PUSH_NOTIFICATION_SENT
|
|
|
|
|
FINE |
- SYSTEM_CONSTRUCTOR_ENTRY, SYSTEM_CONSTRUCTOR_EXIT
- SYSTEM_METHOD_ENTRY, SYSTEM_METHOD_EXIT
|
|
- CUMULATIVE_PROFILING
- CUMULATIVE_PROFILING_BEGIN, CUMULATIVE_PROFILING_END
- STACK_FRAME_VARIABLE_LIST
- STATIC_VARIABLE_LIST
- TOTAL_EMAIL_RECIPIENTS_QUEUED
|
- USER_DEBUG[LoggingLevel.Fine]
- CONSTRUCTOR_ENTRY, CONSTRUCTOR_EXIT
- METHOD_ENTRY, METHOD_EXIT
|
|
|
- FLOW_BULK_ELEMENT_BEGIN
- WF_FLOW_ACTION_DETAIL
- FLOW_ELEMENT_BEGIN
- FLOW_ELEMENT_END
- FLOW_BULK_ELEMENT_BEGIN
- FLOW_BULK_ELEMENT_END
|
|
FINER |
|
- VF_EVALUATE_FORMULA_BEGIN, VF_EVALUATE_FORMULA_END
|
|
- USER_DEBUG[LoggingLevel.Finer]
- HEAP_ALLOCATE, HEAP_DEALLOCATE
- STATEMENT_EXECUTE
|
|
|
- FLOW_ASSIGNMENT_DETAIL
- FLOW_BULK_ELEMENT_DETAIL
- FLOW_SUBFLOW_DETAIL
- FLOW_RULE_DETAIL
- FLOW_VALUE_ASSIGNMENT
- FLOW_LOOP_DETAIL
|
|
FINEST |
|
|
- LIMIT_USAGE
- LIMIT_USAGE_FOR_NS
|
- USER_DEBUG[LoggingLevel.Finest]
- BULK_HEAP_ALLOCATE
- VARIABLE_ASSIGNMENT
- VARIABLE_SCOPE_BEGIN, VARIABLE_SCOPE_END
|
- CALLOUT_REQUEST_PREPARE
- CALLOUT_REQUEST_FINALIZE
|
|
|
- IDEAS_QUERY_EXECUTE
- QUERY_MORE_BEGIN, QUERY_MORE_END
|
Special Cases:
- USER_DEBUG
- MAXIMUM_DEBUG_LOG_SIZE_REACHED
See also: