Questions tagged [debug-logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 views

No logs for a specific custom Sobject

I use the developer console every day for debug. Today I have a strange behaviour : On one SObject, when I edit any record in the UI and make (or not) any change, then save it, I get no log in the ...
Emmanuel BRUNO's user avatar
0 votes
0 answers
49 views

Unexpected behaviour when firing a apex method

I have this piece of code: public static void initTraitementBillingApi() { String methodName = 'traitementDPF'; ObjectUtil.debugLogBegin(CLASSNAME, methodName, ''); //String periode = ...
Fabien Braconnier's user avatar
2 votes
1 answer
349 views

Reading Debug Logs to Determine What's Using CPU TIme

There is a flow running that attempts to insert ~150 opportunities. It is failing with a CPU Time Limit Exceeded error. When I attempt to reproduce the issue using debug on the flow, I'm getting ...
Jeff's user avatar
  • 133
2 votes
1 answer
625 views

Error when trying to debug log file: Unable to retrieve breakpoint info from language server, language server is not ready

I receive the following error when trying to debug a log file: Unable to retrieve breakpoint info from language server, language server is not ready. I already reloaded my VS Code window, what ...
PieterJacob's user avatar
1 vote
1 answer
46 views

There is a way to download developer console debug logs filtered?

Hi Guys! There is a way to download developer console debug logs filtered? I made this filter on developer console and my wish is to download only this and not all debug file.
Hugo Corrêa's user avatar
0 votes
0 answers
56 views

Getting Debug Logs for 2nd Generation Managed Packages not on AppExchange

I have a 2nd-Generation Managed Package throwing an error. It is installed in an org other than my Dev Hub org, but I have sysadmin access to both. This package is not on the AppExchange, and so the ...
Dylan Bowman's user avatar
0 votes
0 answers
77 views

Global action - insufficient access rights on cross-reference id

On Opportunity Object, I have a global action button. This global action type is 'Create a record'. The purpose of this action is to convert the Opportunity into an Order. It is working for me as a ...
Raphael D's user avatar
  • 524
0 votes
1 answer
89 views

Debug log do not trigger for Mobile actions

I have a custom detail page vf button on Opportunity, once the user clicks it, it runs few validations and redirects to another vf page. It works in Lightning experience in PROD and Sandbox in browser ...
user5352's user avatar
  • 1,665
0 votes
1 answer
655 views

execute method of batch apex not running from anonymous window

I have a batch apex that I made few changes. The functionality of the batch apex is to pull assets of a specific record type, and updates a specific field to true based on a criteria. To test my ...
Balaji Pooruli's user avatar
1 vote
1 answer
85 views

Capture debug log via subscriber access

I am getting an exception from managed package code and I need to capture debug logs via Subscriber access so that all details from managed package code are displayed. How can I enable this setting to ...
devsfdc's user avatar
  • 441
0 votes
0 answers
385 views

`sfdx force:apex:log:tail` to only show [USER_DEBUG] logs not working

I'm connected to a Playground org in VS Code. I have made and deployed a class to this org and would like to run some anonymous code in VS Code to test a method of the class. I was able to do this by ...
user135792's user avatar
3 votes
0 answers
88 views

Formatting and color of values of objects logged in chrome devtools is unreadable in dark mode

After the Winter 23' release added Lightning Web Security I started having a problem viewing the values of JavaScript objects. Correct me if I'm wrong but to debug LWC in chrome devtools with LWS ...
Monakus's user avatar
  • 31
0 votes
0 answers
532 views

Scheduled Apex Batch job taking too long to execute

I have one batch job which delete old account associations then create new account associations & update fields[ For which logic is written in a trigger] Previously it was taking less time, it ...
Trupti Jagtap's user avatar
1 vote
0 answers
54 views

Replay Debugger Filters

Does anyone knows if we are able to filter Replay Debugger Logs? I mean, lets say we have a collection of data, which will be iterated 1000 times. Let's say we are interested to see what data are ...
JNR's user avatar
  • 11
6 votes
1 answer
3k views

Proxy on all Objects and Arrays logged in LWC - Salesforce

Good afternoon, Witnessing strange behavior today in the browser's developer console when logging objects and arrays from my lightning web component. All objects and arrays are being logged as "...
Blake's user avatar
  • 121
2 votes
1 answer
199 views

Prevent flows from writing sensitive data to debug logs in plaintext

We have a screen flow that collects a password from the user using a Password field component. That masks the input on screen, but when looking at debug logs, the value of that field gets written to ...
Ryan Brubaker's user avatar
0 votes
0 answers
913 views

Can't view debug logs in Developer Console - Failed to load data Log from Salesforce.com: Salesforce automatically deletes system logs 24 hours

The following error is coming up in a Sandbox Developer Console no matter what I try and it's been like this for weeks. Video: https://www.screencast.com/t/ULztMIi0edS0 Failed to load data Log from ...
rmarq423's user avatar
  • 957
0 votes
1 answer
760 views

Salesforce event monitoring log access required permissions

Have a requirement to create a permission set which will allow users to access the event log monitoring files. As per this link https://help.salesforce.com/s/articleView?id=000363350&type=1 User's ...
user3429270's user avatar
0 votes
0 answers
387 views

How to Find Debug Logs in Apex Test Class

Hey there this is my first Apex code and I'm having trouble finding my debug logs. Heres my Trigger and Test Class First, then below I'll try and explain all that I've tried so far. trigger ...
Grayson Lievens's user avatar
1 vote
0 answers
69 views

Help with understanding debgf log on a decision element in a flow

I'm trying to understand what these lines mean when it says true and false on my debug log. Line 1 says False | False Line 2 says true | False Line 3 says true Line 4 says just false What does the ...
Hulk Buster's user avatar
1 vote
1 answer
463 views

Developer Console: Keep constantly open without stopping producing debug logs

If i open developer console and leave it open without any activity, i get a message after (e.g. 1hr) that "Your Developer Console session has been idle. To resume logging and listening for ...
Giorgos Galaios's user avatar
1 vote
2 answers
450 views

Hide Debug Logs of Managed package

We have a managed package installed, where we have performed several customizations. Now, it is needed to test the whole solution end-to-end. But i have to issues: Managed package has a VF page ...
Giorgos Galaios's user avatar
0 votes
1 answer
228 views

How to override logging on a particular APEX class

The document Debug Log Filtering for Apex Classes and Apex Triggers says log filtering can be "turned off" for a particular class. How is this done? I have a class1 calling calling class2. ...
premkris's user avatar
0 votes
1 answer
211 views

Debug log for AccountContactRelation trigger doesn't show up on after delete

I have a trigger on AccountContactRelation object, which tracks after update and after delete events. When I update ACR record - I see the log on the after update trigger transaction. But when I ...
Duck The Developer's user avatar
1 vote
0 answers
120 views

Apex Log manager needed, or way how to filter big amount of logs

I'm looking for some tool, or extension for managing/ searching Apex logs. My main problem is I can produce very easily, a lot of logs by myself and ofc I'm not alone. Basically, when I reload one ...
karmelos's user avatar
0 votes
1 answer
480 views

Apex Debug logs not showing Statement executes

I am trying to run a batch class from anonymous window. In the debug logs i am not getting the statement executes. Only method entry/exit is showing. Debug level for apex is set to finest. It keeps ...
Swap31's user avatar
  • 23
-3 votes
2 answers
640 views

Is it possible to know WHY SOQL retrieves EMPTY?

I have a SOQL in an APEX Class, and it works okay when I'm logged as a System Administrator User, but it gets empty when I log as a different user. I suppose it could be permissions and field ...
CPS's user avatar
  • 335
0 votes
0 answers
82 views

High API usage, repeated calls!

Over the weekend our Salesforce environment is now getting thousands of API calls every hour. We have custom integrations that have not changed, nor have any API's been deprecated, or any server ...
kkarron's user avatar
0 votes
2 answers
347 views

Get Logs on User Password Reset Button

Greetings Salesforce Friends! I've got a bit of a weird situation around Users in a Community getting the wrong email when we use the User Record Reset Button. Is there a way to get the logs for this ...
thinker's user avatar
  • 1,402
0 votes
1 answer
526 views

What is the 'SFDC_Devconsole' debug level?

I am trying to retrieve error logs for a batch apex class and am creating a new user trace flag for the running user. The standard preset is 'SFDC_Devconsole' - will this trigger debug logs to show ...
patriciajlim's user avatar
1 vote
1 answer
258 views

Is there a way to check @RestResource usage frequency?

Can you please tell me, if there is a way to check @RestResource usage frequency? Short summary: I have a legacy @RestResource which is supposedly not used by anyone. I want to check that. I have ...
Mariia Illarionova's user avatar
1 vote
1 answer
3k views

Logs for flow execution are not detailed

I am building a basic public page form on the salesforce communities, creating a 'Property lead' record in our org. By giving edit access to 'Guest User' I can create the records with no problems. I ...
Priyank Saklani's user avatar
-1 votes
1 answer
2k views

How can I capture Debug Logs for Web to Lead form?

The error is Salesforce could not create this lead because of the reason listed below. For more information about this error or help with Web-to-Lead, please contact Customer Support. Reason: Use one ...
SalesforceLearner's user avatar
6 votes
1 answer
434 views

Is there a way to create Trace Flags for certain user using SFDX?

I'm just tired of manually setting trace flags on my org. My question is, is it possible in any way to create trace flags using SFDX? Or is there any APEX script to create these trace flags for ...
Rechu's user avatar
  • 450
0 votes
1 answer
106 views

EDA: Enabling debug logs

I am working on creating some classes on top of EDA package. Inside the EDA package, there are some debug statements which is controlled by a field Enable_Debug__c on Hierarchy Settings custom ...
nica's user avatar
  • 1,350
0 votes
1 answer
113 views

Difference between sending leads into Dev account as opposed to Sandbox account? Leads not sent into Sandbox with similar settings as Dev account

We have created a webapp to send Leads into the salesforce system, which works great in our Dev account. However when using the same app for another business, which has a Sandbox account, the Leads ...
Kim K.'s user avatar
  • 21
0 votes
1 answer
184 views

Is there a debug log level for Salesforce Streaming?

Is there a debug log level for Salesforce Streaming ? For example, let's say that, I have subscribed to PushTopic or Platform Events? Is there a debug log level setting which allows to see the logs ...
a3.14_Infinity's user avatar
1 vote
2 answers
3k views

Standard Rest API - Logs

In my organization I am doing a simple standard Rest API Call to insert Account: URL : https://MyInstance.salesforce.com/services/data/v51.0/sobjects/Account Body : { "Name"...
Raphael D's user avatar
  • 524
0 votes
1 answer
1k views

FATAL_ERROR|System.QueryException: expecting a colon, found ')'

We have issue with one of the apex class which stopping us from configuring a record through lightning component. When we debugged the issue we found this error in debug logs and could not identify ...
Samuel Robert's user avatar
1 vote
1 answer
796 views

VSCodedx is no longer showing execute anonumous debug logs in the output panel

All of a sudden my vscode isn't showing the debug logs from execute anonymous in the output panel. Other messages show up in there such as when I deploy a source to org, Turn on apex debug log for the ...
Bahman.A's user avatar
  • 808
2 votes
1 answer
2k views

Who runs Email-to-Case

I am trying to debug the case trigger when I create a case via Email-to-Case. But I don´t know which user run the trigger. Any help?
manukadi's user avatar
0 votes
0 answers
236 views

Salesforce Debug log shows statements even after Fatal Error statement

I am perplexed by something i see in debug log, and this could be very stupid question. We have a parentObject and ChildObject (its not mater detail... just lookup relation). We perform some update on ...
user2957592's user avatar
3 votes
0 answers
452 views

Why doesn't flow debug info show in my debug log?

I'm logged into Salesforce Lightning, Health Cloud Admin I open the Developer Console and set the flow debug levels to finer I go to an Account record and click Schedule Appointment I complete the ...
Chris P's user avatar
  • 31
-1 votes
1 answer
700 views

Facing heap size issue when querying and processing apex logs in LWC component

We are creating a apex log table and users will select a log and we need to show the log body to them. While implementing this we are facing apex heap size issue. From the UI users will select the log ...
Ram's user avatar
  • 24
0 votes
2 answers
165 views

Logging via debug logs

I wanted to ask about debug logs, in my application I need to pass data from Visualforce page to apex class every time I get some message from server. So every time I get a message I call apex ...
Badar's user avatar
  • 45
1 vote
1 answer
970 views

What is the difference between "System debug logs" and "Monitoring debug logs"

The Salesforce article on debug logs (currently found here) states that "System debug logs are retained for 24 hours. Monitoring debug logs are retained for seven days." What is the ...
Joe Flowers's user avatar
2 votes
1 answer
2k views

How can I see debug logs, when the record is created by System as a user?

I am trying to setup a trace flag to debug. When I select User in the dropdown and try to find System in there. It doesn't show up. What can I do ?
manb's user avatar
  • 95
0 votes
0 answers
30 views

How to check debug logs for trigger when executed from the front end? [duplicate]

How can I check the debug logs for my trigger when some goes to my website and clicks a button that inserts records on salesforce?
manb's user avatar
  • 95
0 votes
0 answers
233 views

Debug Log In subscriber org (managed package) not working

I am logged in to the subscriber org through LMA (subscribers)... and I still just get do detail in the log. Supposedly we should see full detail when logged in through LMA. I do recall this working a ...
dacology's user avatar
  • 2,952
-1 votes
3 answers
6k views

How to setup debug log for batch apex

I have a batch 'mytestbatch' which runs everyday through scheduler. This batch will update more than 15lakhs records. During execution mytestbatch is throwing an error 'First error: Attempt to de-...
Vignesh S's user avatar