Debug Logs In Salesforce!


Debug Log Levels determine the level of detail that is recorded in the log files for different categories of events. 

Below is the breakdown of different levels, which are listed from lowest to highest:

- NONE: No log messages are recorded.

- ERROR: Only error messages are recorded, representing critical issues.

- WARN: Warning messages are recorded to highlight potential issues.

- INFO: This is the default level and it records informational messages about the system's operation.

- DEBUG: More detailed debug messages are recorded to help diagnose issues.

- FINE: A higher level of debug messages, with more detail than DEBUG.

- FINER: Even more detailed debug messages than FINE.

- FINEST: The highest level of detail, recording all possible debug messages.

It's important to note that not all levels are available for all categories. 

Only the levels that correspond to specific events will be available.

Before deploying any changes, it is crucial to verify that the Apex Code log level is not set to FINEST. 

Setting it to this level may result in longer deployment times. 

If you have the Developer Console open, the log levels set in the console will affect all logs, including logs created during the deployment process.

Follow Us

Posted By : Sudeer Kamat Date :

view_module Related

  • Use Filters to Find Record-Triggered Flows Quickly In #SalesforceWinter24ReleaseUse Filters to Find Record-Triggered Flows Quickly In #SalesforceWinter24Release
  • Iterate Within For Loops More Easily with Iterable In #SalesforceWinter24ReleaseIterate Within For Loops More Easily with Iterable In #SalesforceWinter24Release
  • Meet RecordAction: The Unsung Hero of Salesforce's Actions & RecommendationsMeet RecordAction: The Unsung Hero of Salesforce's Actions & Recommendations
  • Query All Files Permission To Retrieve ContentDocumentLink Object In #SalesforceWinter24ReleaseQuery All Files Permission To Retrieve ContentDocumentLink Object In #SalesforceWinter24Release
  • Contact Intelligence View In #SalesforceWinter24ReleaseContact Intelligence View In #SalesforceWinter24Release

label Labels

Comments 0