Loading

Best practices for using debug logs with trace flags in Production

Publiceringsdatum: Sep 11, 2023
Beskrivning

Follow these steps to setup debug logs either on an apex class or a user in the org.

If the apex class or user being traced are generating lots of small debug logs per minute, while avoiding the 15 minute and 1000MB debug log limit threshold (see debug log limits), the likelihood of request failure increases.

Lösning
Do not enable trace flags on API users or apex classes that are on a critical apex code path which sees high execution usage during peak business hours to avoid performance issues.
Knowledge-artikelnummer

000395769

 
Laddar
Salesforce Help | Article