function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ankethaanketha 

Debug logs not being generated for other users

Hi,

Even though I have set the trace logs for another user, I can't see any logs being generated.
I have created Transaction security policies for data export for Account object when Account data of more than 10 records are being extracted. An apex class is being written for this.

So, when I extract Account data, I see logs in my user, but I don't see any logs for the other user, whom I have set the trace logs. I have also disabled the checkbox - 'View my current logs only' in developer console.

Any help will be appreciated.

Regards,
Anketha
Ajay K DubediAjay K Dubedi
Hi Anketha,

Go to Developer tools of browser and then to Console tab, Execute the below java-script
document.cookie ="debug_logs=debug_logs;domain=.force.com";

Ref: http://cloud.navneetkr.com/2016/10/winter-17-setting-debug-logs-for-site.html

    
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi