I need to check the debug logs when a user creates a case from the community. Obviously i will not be knowing which user will be creating a case in advance hence i cant set trace flag. How to check/set the logs in this case.

  • what's the root issue you are seeing that needs debugging (I'm assuming this is happening for authenticated community users as guest users can easily be debugged). and if you login as that community user (from the Contact detail page - use Classic) - you can't repro the problem? – cropredy Jul 6 at 20:57
  • Yes, not able to reproduce. – steamyfire Jul 7 at 4:20
  • In the absence of any other information, instrument the code path (case trigger, related object triggers, and log with platform events) until such time as problem recurs – cropredy Jul 7 at 4:52

You only get logs for users that are being traced. You will need to know which user you need to trace. Debugging requires additional resources and will slow down the user experience.

| improve this answer | |
  • Any possible way to handle this ? Issue in production which we're not able to reproduce in sandbox and also in production (when we try). – steamyfire Jul 6 at 16:53

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.