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 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 ...