2

How can i see the entire body of the last debug log in developer console in Salesforce?

enter image description here

1 Answer 1

3

This is not possible in normal log view (from spring 19). You need to open raw log or download it to view it fully. Right click on log to see options

enter image description here

Documentation:

Developer Console: String Values in Debug Logs Are Truncated

To help prevent connection pool timeouts caused by exceptionally large queries, strings are now truncated at 512 characters in the Developer Console’s Log Inspector. This truncation applies to all string values in the Execution Log panel and to SOQL queries in the Source panel. You can view the complete string in a raw log file. Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise Performance, Unlimited, Developer, and Database.com editions.

When: This change takes effect on March 6, 2019.

How: To open a raw log, on the Logs tab, right-click a log and select Open Raw Log. Or, to open your newest raw log, select File | Open Raw Log. You can also access raw logs through the API by querying the Tooling API object ApexLog.

Source: https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_forcecom_developer_console.htm

1
  • 1
    Thanks @salesforce-sas. I forgot about reading that here on stack exchange couple months ago. Aug 4, 2019 at 5:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .