2

We have a set of communities where unauthenticated users are submitting forms, and we want to set trace flags for the behavior done by these users, i.e. we want to observe what the guest users are doing in the logs.

For some time, we had logs being created properly using the method in this post: How can I get a debug log for the sites guest user/public profile? [updated for Winter 17]

However - we deployed some small patches to the org, and logs are no longer being printed for the guest user.

Steps we've taken to attempt to fix:

  1. deleted and recreated the trace for the guest user
  2. flushed all existing debug logs through the tooling api
  3. deleted and recreated the sharing settings that allow our user records to view the guest user's user record

Looking for anyone that has experienced this before, or has any advice on things to try,