Activity Forums Salesforce® Discussions What is the maximum duration for debug log we can set in Salesforce?

  • What is the maximum duration for debug log we can set in Salesforce?

    Posted by Udit on April 15, 2020 at 2:27 pm

    What is the maximum duration for the debug log we can set in Salesforce?

    Anjali replied 4 years, 7 months ago 7 Members · 6 Replies
  • 6 Replies
  • MOHIT

    Member
    April 15, 2020 at 3:08 pm

    24 hours.

  • Deepak

    Member
    April 15, 2020 at 4:53 pm

    Hi Udit,

    • System debug logs are retained for 24 hours. Monitoring debug logs are retained for seven days.
    • If you generate more than 1,000 MB of debug logs in a 15-minute window, your trace flags are disabled. We send an email to the users who last modified the trace flags, informing them that they can re-enable the trace flag in 15 minutes.
    • When your org accumulates more than 1,000 MB of debug logs, we prevent users in the org from adding or editing trace flags. To add or edit trace flags so that you can generate more logs after you reach the limit, delete some debug logs.
  • Aditya

    Member
    April 15, 2020 at 5:32 pm

    Hi,
    The maximum duration for debug log that we can set is 24 hours

  • Ratnesh

    Member
    April 16, 2020 at 6:42 am

    A single Debug Log can be of a maximum size of 20 MB only and takes 24 hours.

  • Ayush

    Member
    April 16, 2020 at 9:41 am

    System Debug can be of a maximum size of 20 MB only and takes 24 hours

  • Anjali

    Member
    April 16, 2020 at 12:52 pm

    24 hours is the maximum duration that is set for debug log in Salesforce.

Log In to reply.

Popular Salesforce Blogs