Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
DictionarySSystem Log
Core CRMBeginner

System Log

In Salesforce development (Classic), the Developer Console's log viewer or debug log feature that records detailed execution information for Apex code, workflow rules, validation rules, and system events for troubleshooting.

§ 01

Definition

In Salesforce development (Classic), the Developer Console's log viewer or debug log feature that records detailed execution information for Apex code, workflow rules, validation rules, and system events for troubleshooting.

§ 02

In plain English

👋 Study buddy

The System Log in Salesforce development (Classic) is the Developer Console's debug log feature. It records detailed execution information for Apex code, workflow rules, validation rules, and other automation, helping developers troubleshoot issues.

§ 03

Worked example

scenario · real-world use

An Apex developer at Hartmoor Software opens the Developer Console's System Log to debug a flow that fails intermittently. She reproduces the issue, opens the latest System Log, and sees the chronological execution: each Apex method invoked, each SOQL query run, each DML statement issued, each governor-limit accumulation, with the exception that fired and the stack trace. She traces the bug to a sharing-recalculation that ran inline with the trigger and pushed the transaction over the CPU-time governor limit. Fix: move the recalculation to async. The System Log is the most granular diagnostic tool the platform offers in Classic; modern Lightning uses Debug Logs with similar structure.

§ 04

Why System Log matters

In Salesforce development (Classic), the System Log is the Developer Console's log viewer or debug log feature that records detailed execution information for Apex code, workflow rules, validation rules, and other automation, used for troubleshooting and performance analysis. Debug logs capture transaction details at configurable verbosity levels.

Debug logging is foundational to Salesforce development and troubleshooting. Without debug logs, diagnosing code failures or performance issues is nearly impossible. Mature developers use debug logs routinely during development and maintain the ability to quickly enable them in production when issues arise. The Developer Console and VS Code both provide access to debug logs.

§ 05

How organizations use System Log

CodeBridge

Trains developers on using debug logs as a fundamental troubleshooting tool.

Quantum Labs

Uses debug logs in production troubleshooting with controlled enabling and monitoring.

TerraForm Tech

Integrates debug log analysis into their development workflow.

§

Trust & references

Official documentation

Straight from the source - Salesforce's reference material on System Log.

Was this entry helpful?
Help us write better definitions. Quick reactions or detailed edit suggestions.
§

Test your knowledge

Q1. What is the System Log?

Q2. What does it record?

Q3. Why is it essential?

§

Discussion

Loading…

Loading discussion…