O'Reilly logo

Force.com Developer Certification Handbook (DEV401) by Siddhesh Kabe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging and monitoring the process

Logs are used to record error and back-end processes that are running in the organization. They store the following process information:

  • Workflow and approval process
  • Assignment rules
  • Escalation rules
  • Auto-response rules
  • Apex Script errors
  • Resources used by Apex Script

Types of logs

There are two types of debug logs:

  • Debug log
  • System logs

Debug log

Debug logs are stored separately and can be retained. They are stored based on particular users only. We can download, view, and manage the debug log for users. At a time only 20 logs are permitted per user. There is a limit of 2 MB per log and 50 MB per organization.

To setup a debug log, navigate to Setup | Administration Setup | Monitoring | Debug Logs.

Click on New and add ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required