Questions tagged [debug-logs]

The tag has no usage guidance.

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
2k views

Mass delete Debug logs using Developer Console: Invalid cross-reference id

Given warning in Developer Console that Debug Logs exceeded limit and some must be deleted in order to set new trace flags execute in DC (via Tooling API option in Query Editor) Select Id from ...
cropredy's user avatar
  • 70.8k
5 votes
0 answers
1k views

Limits information not appearing in debug log

I need to debug a governor limit issue in a particular procedure but I'm not getting the LIMIT_USAGE_FOR_NS section in the debug log even when I set Profiling to Finest. I expect to see this in the ...
David Cheng's user avatar
  • 7,070
4 votes
0 answers
476 views

Is Anyone Else Seeing sfdx force:apex:log:tail Only Using The SFDC_DevConsole DebugLevel Regardless of Setting --debuglevel Flag

Okay so I've read the answer here How do I set the log levels for force:apex:log:tail? as well I have read all the documentation I can find for the sfdx force:apex:log:tail command. And everything I ...
gussamer's user avatar
  • 103
3 votes
0 answers
95 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
3 votes
0 answers
496 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
3 votes
0 answers
2k views

SFDX: Get Apex Debug Logs returns "undefined"

This is driving me insane - I am no longer receiving full log files when running SFDX: Get Apex Debug Logs via VS Code's command palette. Instead, I get an empty file with the correct file name, but a ...
coreyperryisasaint's user avatar
3 votes
0 answers
805 views

Exception.getStackTraceString() returning '()' on object with managed package trigger when debug logs not on

First of all, my question is very similar to this one and might actually be a duplicate, however there is no notion of a managed package or debug logs there. We have an after insert trigger on ...
Robin De Bondt's user avatar
2 votes
1 answer
228 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
2 votes
0 answers
324 views

What are ConduitEventConsumer-pool-9687-thread-2 in Platform Event Debug Logs

This is the first time I saw something like this. We fire Platform Events from many places, and they are in plenty, you can say around 100 in a minute in worst case scenario. Is there any kind of ...
Somya Tiwari's user avatar
2 votes
0 answers
118 views

With Lightning UI enabled - is it possible to stop /aura Operation spam in Developer Console's log panel?

When I have Lightning UI Enabled, Open the Dev Console and toggle to the "Logs" tab, my log is spammed with nearly endless /aura operations. This slows down my general experience in lightning as ...
Morgan Marchese's user avatar
2 votes
1 answer
185 views

Force.com Site - Data not loading - No log

I have a simple Force.com site made of few VisualForce pages. I use the same code also in Salesforce (button on Opportunity object). In Salesforce everything work very well but on Force.com site ...
Raphael D's user avatar
  • 554
2 votes
0 answers
704 views

How can I get Debug Logs for Apex code in my Managed Package which is invoked via Execute Anonymous on the Subscriber Org?

I have installed a Managed Package and connected it via the LMA. The subscriber org shows up under the Subscribers-Tab. An user on the subscriber org has granted me (as package provider) login access. ...
Uwe Heim's user avatar
  • 28.3k
2 votes
0 answers
1k views

How can I view my test classes debug logs of an ant deploy

I have about 20 classes that I deploy to production via ant. Some of my test classes fail. I want to view the debug logs but I cannot find the way to look at the logs of my ant deployment. Any help ...
Itai Shmida's user avatar
  • 5,015
1 vote
0 answers
57 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
1 vote
0 answers
75 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
0 answers
130 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
1 vote
0 answers
479 views

Downloading Debug Logs in Subscriber Org

Recently my team was given access to a customer's org to investigate an issue. We were able to log into the subscriber's org with using the LMA. We were able to see the debug logs inside our package ...
J. Larson's user avatar
1 vote
0 answers
2k views

How to get ApexLogs in an action called from LWC

I would like to know how to obtain the data that my apex method is generating step by step, system debugs. I have not seen any documentation on the internet which has some information of what I need. ...
Diego Lucas Romero's user avatar
1 vote
1 answer
168 views

Debug a Beta version of the managed package

Is it possible to debug a Beta version of the managed package? It seems that LMA works only with those apps that were published on AppExchange. Thank you.
oobarbazanoo's user avatar
1 vote
1 answer
280 views

SYSTEM_MODE_ENTER is not paired with SYSTEM_MODE_EXIT

I have a debug log where some SYSTEM_MODE_ENTER are logged with value true but corresponding SYSTEM_MODE_EXIT are not logged. Have you come across this issue? Any reason why it is so? Here is the ...
metasync's user avatar
  • 1,772
0 votes
0 answers
54 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
0 votes
0 answers
75 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
86 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
  • 554
0 votes
1 answer
875 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
0 votes
0 answers
475 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
0 votes
0 answers
666 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
0 votes
0 answers
1k 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
  • 967
0 votes
0 answers
501 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
0 votes
0 answers
90 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
1 answer
116 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
  • 41
0 votes
0 answers
249 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
0 votes
0 answers
254 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,972
0 votes
0 answers
125 views

Apex Debug is not showing the errors correctly

I have trigger on Task Object as below. trigger TaskTrigger1 on Task (before insert, before update,after insert) { If (Trigger.isBefore) { If (Trigger.isInsert) { // TaskQueue is Group of ...
Saicharan Reddy Kasireddy's user avatar
0 votes
1 answer
202 views

How to check debug logs for a user for whom tracing is not set

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/...
steamyfire's user avatar
0 votes
1 answer
363 views

Tracking Salesforce object changes - alternative tool for event monitoring

Is it possible to determine what process/trigger/code made a change to an object in SalesForce? We have cases being created by Email2Case and there instances where we want to blank out the account ...
user3754525's user avatar
0 votes
0 answers
123 views

How do i get logs for a lightning component loading in salesforce android app?

I have added a lightening component to Salesforce, and its rendering fine in chrome on Salesforce and in Salesforce iOS app. But, its not loading in Salesforce android app. and is showing blank. Any ...
ghostCoder's user avatar
0 votes
0 answers
191 views

System.Debug() appears to be summing additional logged values

I'm running the following code, and I just want to log the total amount of deletes, and the total amount of records passed into the method and return the total amount of records that were processed ...
thinker's user avatar
  • 1,402
0 votes
1 answer
486 views

How can I add "set-cookie" to a RestResponse?

A few years ago, Salesforce disabled debug logs for REST guest calls. The only way to enable generating the logs is to add a cookie to the incoming call. Docs here. The incoming call in my case is ...
PatMcClellan__c's user avatar
0 votes
1 answer
395 views

How to see log of a single bulk insert statement

Is there a way to find if the user insert the records is that through bulk statement or individual insert records? I have look DebugLog and ApexLog object but does not give me a lot of information ...
Nick's user avatar
  • 6,982
0 votes
1 answer
473 views

getting Must trace apex_code at finest when checking the variable panel

I have already set the apex debug level at FINEST but still when I check the variable panel I still see the message must trace APEX_CODE at Finest can someone please suggest on the same? Below is the ...
gs650x's user avatar
  • 2,650
0 votes
0 answers
80 views

Unable to view debug logs when it has an error

Lately, whenever I get a null-pointer exception, I am not able to open the debug log associated with it. I've tried several tools and it always says its been deleted before I can open it, even if I ...
brezotom's user avatar
  • 1,077
0 votes
0 answers
2k views

How to debug the code to find whether we are getting response from the endpoint url

I have written a Api and Iam trying to debug to check we are getting the response. Please advise how to debug it . I did debug the code but in logs i get Status code ok But not the response. Please ...
Samuel Robert's user avatar
0 votes
1 answer
624 views

Can i see only of my debug logs in salesforce?

In my org there are tons of users. When i want to see my debug logs, i see thousands of debug logs which is not relevant for me, what should i do to check only of mine logs?
Mukesh Kandala's user avatar
-1 votes
0 answers
46 views

Apex class not found in change log levels of developer console

I have a class which is Active and appearing in the developer console. But I can't see the same file while selecting the file name in change Log level for that class. Below is the screenshot where I ...
Saurabh's user avatar
  • 25