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

  • 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
  • Get Started with Customer Onboarding Faster In Financial Services Cloud In #SalesforceWinter24ReleaseGet Started with Customer Onboarding Faster In Financial Services Cloud In #SalesforceWinter24Release
  • Scan Your Solution with Ease Using Salesforce Code Analyzer Visual Studio Code Extension (Beta) In #SalesforceWinter24ReleaseScan Your Solution with Ease Using Salesforce Code Analyzer Visual Studio Code Extension (Beta) In #SalesforceWinter24Release
  • Use Third-Party Web Components in LWC (Beta) In #SalesforceWinter24ReleaseUse Third-Party Web Components in LWC (Beta) In #SalesforceWinter24Release

label Labels

Comments 0