On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error:
Is it possible to find the stack trace itself on sandbox or somewhere else?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
See the Development Setup module found in the nav under Administration > Site Development. Within the "WebDAV Access" section, you'll see a subsection for "Log Files". There are two ways to access them.
First, and ideally you have Log Center access for the instance you're trying to check logs for. There should be a "Log Center" link below the WebDAV URL for logs. Click this link. Once the Log Center interface loads, do a search with that value minus the
> characters. Wrapped with
stacktraceUUID:( ) It should show you all relevant logs w/ that stack trace. For example:
stackTraceUUID: ( a6d7f20c52ed080c41c1e8e66b1bac4f )
You can also just search for that hashed string. It's relatively unique so the likelihood of finding something irrelevant is low.
Alternatively, you can find the stack trace in one of the log files. They are separated by severity and by custom code vs native code.
Typically you'll want to check (in this order until you know better)
If the error occurred in a Job there is a special category for those messages:
Similarly if the error occurred in a Service context there is a special category for each service:
You won't typically find stack traces in warnings and info messages, but it is good to check them periodically for some code smells.
blade#-# pattern refers to the physical architecture of the server instances. This pattern is present on SIG instances such as 'traditional' sandboxes and PIG Development instances still, despite always being the same value. On PIG instances like Staging and Production you'll typically see at least one blade for Staging and at least three blades for Production. For example:
blade3-0 blade3-1 blade3-2