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
Bharath SamanthulaBharath Samanthula 

Debug Logs deleted automatically?


Just wondering why debug logs are getting deleted auotmatically after it shows up in logs. Here is the situation,
We are trying to run some  unit tests ,we can see the log is recorded but in few seconds it just disappears (No one is deleting it). Is it a standard behavior? or storage issue?  Any help would be greatly appreciated
Best Answer chosen by Bharath Samanthula
Hi Bharath,

Each organization can retain up to 50 MB of debug logs. Once your organization has reached 50 MB of debug logs, the oldest debug logs start being overwritten.

Please refer below link for more info.


PS: If this answers your question, Please mark this as 'Best Answer'.