0

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.

3
  • 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
    Commented Jul 6, 2020 at 20:57
  • Yes, not able to reproduce.
    – steamyfire
    Commented Jul 7, 2020 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
    Commented Jul 7, 2020 at 4:52

1 Answer 1

0

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.

1
  • 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
    Commented Jul 6, 2020 at 16:53

You must log in to answer this question.

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