You need to sign in to do that
Don't have an account?
JoeZaloom.ax395
Can't see System.debug() output in installed managed package
Hi,
We have an application that we distribute as a managed package. In the dev org where I created the package, I can see all output from my System.debug() calls in the system log window.
When we install the package in a client's SF org, we can't see any of the System.debug() output. We do see the SF profiling information, but no debug() calls.
I can't find any reference to this in the documentation.
- Is this known behavior?
- Is there some way to enable System.debug() output in a managed package?
thanks for any feedback,
joezaloom
All Answers
Managed packages are very hard to troubleshoot without logs.
Example of logs for troubleshooting (filter by SELECT Name FROM PermissionSet):
10:52:24.0 |SOQL_EXECUTE_BEGIN|SELECT Name FROM PermissionSet WHERE Name LIKE 'Before send()
10:52:24.0 |SOQL_EXECUTE_BEGIN|SELECT Name FROM PermissionSet WHERE Name LIKE 'After send()
10:52:24.0 |SOQL_EXECUTE_BEGIN|SELECT Name FROM PermissionSet WHERE Name LIKE 'Before getBody (MRA_Http_Util)' LIMIT 1
10:52:24.0 |SOQL_EXECUTE_BEGIN|SELECT Name FROM PermissionSet WHERE Name LIKE 'After getBody (MRA_Http_Util)' LIMIT 1
Thank you!
Daniel