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
SFDummySFDummy 

Different in debug logs APEX_CODE version

I see the following line in production debug log   first line

15.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO

 

And in sandbox the following  - first line

24.0 APEX_CODE,FINE;APEX_PROFILING,FINE;DB,INFO;

 

Why there is a difference? when I check the version setting both of them has same - Salesforce API 24.0

 

Gunners_23Gunners_23

It seems in first instace user has changed the Default setting for log level. Debug log level can be changed. 

 

Administrative Setup --> Debug Logs --> Click on filters ( next to username) to change the log level for a user 

 

After changing the log level, try to run trigger or something and Check it in debug logs