Investigation playbooks
Three playbooks for the most common investigation patterns. Each uses only the shipped list views and record pages - no custom setup required.
Investigating a specific error
Section titled “Investigating a specific error”- Open the
AllERRORLogEntrieslist view onLogEntry__c. - Filter to the time window of interest (usually “This Hour” or “Today”).
- Open a
LogEntry__crecord. - The linked
Log__cshows the full transaction; the related list on theLog__cshows every entry in that transaction, in order. - If the transaction is part of an async chain, follow
ParentLog__cupward to the parent.
The chronological entry list on the parent Log__c is usually the most useful single view - it shows the sequence that led to the error.
Investigating a user’s session
Section titled “Investigating a user’s session”- Open the
AllLogslist view onLog__c. - Filter by
LoggedBy__c(the user field) and time window. - Sort by
StartTime__cascending to see the user’s transactions in order. - Open each
Log__cto see the entries within the transaction.
Confirming logging is firing during a repro
Section titled “Confirming logging is firing during a repro”Great for “we deployed but I’m not sure logging is working” or “we added a new logger call and I want to see it fire before waiting for the async save.”
- Open the Logger Console home page (
LoggerHomePage). - Locate the Log Entry Event Stream component.
- Reproduce the scenario in another tab or window.
- Watch entries appear in real time as
LogEntryEvent__eplatform events publish. - When entries stop appearing, the async save has completed and the persisted
Log__c/LogEntry__crecords are queryable.
The stream shows entries as platform events fire, which is before the trigger materializes them into records. That’s the fastest signal you’ll get.
Common patterns for narrowing
Section titled “Common patterns for narrowing”- By severity:
AllLogsWithERROREntries,AllLogsWithERRORorWARNEntries. - By runtime:
AllApexLogEntries,AllComponentLogEntries,AllFlowLogEntries. - By status:
AllOpenLogs,AllClosedLogs,AllResolvedLogs. - By async context:
AllAsynchronousLogs,AllBatchLogs,AllChildLogs. - By HTTP callout:
AllHttpRequestLogEntries,AllHttpResponseLogEntries. - By exception:
AllExceptionLogEntries. - By impersonation:
AllImpersonatedLogs,AllImpersonatedLogEntries.
Start with the shipped list views and narrow with column filters before creating a custom view. There’s almost always a shipped view close to what you want.
Where next
Section titled “Where next”- Logger Console app - the console tour.
- Log record page - what each
Log__candLogEntry__cpage shows.