Logs are used to record error and back-end processes that are running in the organization. They store the following process information:
There are two types of debug 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 ...