function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jeremyyjeremyy 

System Log - missing duration?

The docs show the "stack" with durations listed on each line:

 

durations

 

I get something a little different:

 

different

 

Notice there are no durations. I'm currently working on performance, so it'd be helpful to have the durations. Is there some way to enable them? Thanks.

 

Best Answer chosen by Admin (Salesforce Developers) 
Alderete_SFDCAlderete_SFDC

Make sure your Log Levels for Apex Code are set to at least Fine. If you have it set to Debug or lower (less logging), there isn't enough information in the log to show durations.

All Answers

jeremyyjeremyy

I just noticed that when the time info is missing, the Executed Units tab omits any time-related columns:

 

Alderete_SFDCAlderete_SFDC

Make sure your Log Levels for Apex Code are set to at least Fine. If you have it set to Debug or lower (less logging), there isn't enough information in the log to show durations.

This was selected as the best answer