1

I know that it has a lot of trends created about this topic but none of them worked for me.

So, I opened my site and create the cookie with

document.cookie="debug_logs=debug_logs;domain=.force.com";

Where i'm suppose to see it? I configured in my "Monitoring -> Debug logs" the guest user. When I try to open the page on my site to get the log and refresh the Logs page, there is nothing... Could someone please help me?

  • Are you using a custom domain for the site? If so, you would need to set that cookie to that domain rather than .force.com. – Daniel Ballinger Feb 6 '17 at 23:32
  • Also, use the network tab in the Chrome Developer tools to confirm that the cookie gets sent in the GET request to Salesforce. – Daniel Ballinger Feb 6 '17 at 23:34
  • Hey Daniel, thank you for your replay, but still not working. – Thiago Balancin Feb 7 '17 at 22:14
  • Can you add some screenshots showing the Chrome request with the cookie to the public site? Also check that the TraceFlag is active for the Sites guest user so the logs will be generated. Maybe check the Debug levels. – Daniel Ballinger Feb 8 '17 at 0:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.