Questions tagged [logging]
The logging tag has no usage guidance.
40
questions with no upvoted or accepted answers
4
votes
0
answers
194
views
Debug Logs / LMA / and Async methods
Can anyone confirm that when logged into a subscriber org via the LMA that debug logs for your namespace are still obfuscated when running async methods (future, batch, etc).
If so, is there a work ...
3
votes
0
answers
383
views
Anyone connected a Salesforce org to e.g. Loggly or DataDog?
Cloud-based logging environments provide tools to help analyze log files.
We are looking at using Platform Events as one of the outputs of our logging calls per Logging frameworks that use Platform ...
3
votes
0
answers
381
views
Bulk API doesn't print debug messages to the logs
We are experiencing an issue which looks like a different system user (possibly) is used to run asynchronous triggers when loading data with the Bulk API. The reason I think this is because of the ...
2
votes
0
answers
647
views
How to log apex classes?
I'm creating debug log entries for an Apex class I want to watch. When I create it it doesn't show in the debug log entries list, but if I try to create another one for the same class, I get an error ...
2
votes
0
answers
35
views
issue in logging into salesforce org
I am facing issues frequently while logging into the salesforce Developer org. I have attached the screen shot of the issues below.
Also even when I enter the correct username and password, it often ...
2
votes
1
answer
168
views
Developer Console Logs Stop Showing after first run
This has been happening for the past month. After an anonymous execution, I try to execute an anonymous script again and open up the log, the script executes but no log is presented. If I shut down ...
2
votes
0
answers
54
views
How to get Log Requests Available amount?
Is it possible with SOQL or some API to get the Log Requests Available value for specified user?
2
votes
0
answers
1k
views
VF page does not display value that of variable that Controller debug log shows
I have been tasked with adding features to a large existing SF codebase. One of the features I am adding requires that a particular page be saved as a PDF.
The newly generated PDF page displays ...
2
votes
0
answers
422
views
debug log filter only for one user
The account I am using is Secondary Admin.
And in Debug Logs, I am getting other user's log [using Salesforce UI]. It is quite annoying as it makes me hard to find my own debug logs.
For Monitored ...
2
votes
1
answer
625
views
watch logs while logged in as user
I'm having the same issue as in this thread, where I need to be logged in as a test user with my app's permission set (and not higher), but I need see the logs to figure out why Calvin is successful, ...
1
vote
0
answers
203
views
Run send log data extension
I want to log the sends (Triggered send & mass send). Therefore I created a DE by using the SendLog Template.
But the DE is still empty. We are using "Retain Send Log Data" on every single send. ...
1
vote
0
answers
138
views
MobilePush Sendlog
i am using the MobilePush Sendlog template however i want to add additional data to the sendlog much like i have done with the email sendlog.
Specifically i want to trap the Message type (location, ...
1
vote
0
answers
241
views
Developer console log not showing details
I am not sure what happened to my logs. I am setting up/testing a JIT handler to create new users & contacts when they log in via SSO.
Yesterday, every time I logged in I would see a log entry ...
1
vote
0
answers
61
views
Apex Logging for Managed Package
I log my apex code exceptions using getStackTraceString(). I understand that this is not visible to a customer log normally. But I already logged in to our LMA and logged in to the subscribers org and ...
1
vote
1
answer
496
views
Identifying recipients with errors in send log
Based on Markus Slabina's great article I set up a send log for my Marketing Cloud.
To enrich the standard send log data, I have added a snippet of AMP script to all my emails which allows me to ...
1
vote
0
answers
129
views
Not Getting Debug Logs Even Though Not Guest User and Trace Flags Set
I have setup my User Trace Flags like I would normally as my current user, but for some reason no debug logs are being captured. It would be different if statements were missing in the log, but I am ...
1
vote
0
answers
228
views
Debug Logs Explanation
I'm trying to understand the debug logs Salesforce provides. There are actually two duration(in ms) for every webservice called.
One at the top
One at the bottom giving up split up method wise
The ...
1
vote
1
answer
92
views
How can I keep a detailed log of the actions performed by specific scheduled batch jobs?
I have a few batch jobs that are scheduled to run each morning, and I want to keep better track of all the actions they perform. I know I could find this via Debug logging, but when I turn it on it ...
1
vote
1
answer
66
views
Monitor email service with data feed: email report
I am surprised I do not find find any examples of best practices on this matter. So, I have feeling maybe I am doing something wrong.
We have email service which is receiving emails with CSV file ...
0
votes
0
answers
47
views
How do I add logging on salesforce app in 2nd generation managed code?
How do I add logging on salesforce app? Assuming it would not be a good idea to aggregate logs to external system, if we do add logs it is going to sit in the customer's salesforce org. What is the ...
0
votes
0
answers
820
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 ...
0
votes
0
answers
138
views
Can we track changes made via workbench?
We are working on our audit readiness and are preparing to restrict connected app access to Workbench for all profiles, except System Admins for full use and our Analysts so that they may do queries.
...
0
votes
0
answers
53
views
Are org's logs available elsewhere different from EventLogFile?
We are currently investigating when Apex classes/pages/triggers were last run, and the EventLogFile object was the suggested as the way of retrieving relevant data.
But I wonder if the org's usage ...
0
votes
1
answer
145
views
Logging framework inside a managed package
I really don't have much idea of how logging works in a managed package context. So my question might be very basic to you.
Can anybody suggest a logging framework which we can use for our managed ...
0
votes
1
answer
109
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 ...
0
votes
1
answer
43
views
Can I change the status files format?
I would like to ask if there is an option to change the format (delimiter) of the success/error log files of each Dataloader operation?
I could not find anything in the documentation, neither on the ...
0
votes
1
answer
874
views
Logging for ConnectedAppPlugin class
I have a Connected App Handler Class (that extends the Auth.ConnectedAppPlugin) for one Connected App I am having. Use case is this class is used to set some additional attributes for which the ...
0
votes
0
answers
754
views
Verifying Marketing Cloud API calls
So I'm new to the Dev. Forums, and trying to learn as much as I can while studying for my MC admin and developer certs, so forgive me if this question isn't clear.
In Marketing Cloud we have a lot of ...
0
votes
0
answers
254
views
Is there any tool that can do event logging for Apex
I have a website that is built with Visualforce page and apex. I want to have logging feature added to the apex (trace, debug, info, ...eror, fatal). I know you can do this using debug log but my ...
0
votes
0
answers
20
views
Created a 30 day trial today, verified my phone number via email, but now I cant log into the lightning experience!
Im having a real hard time understanding what Im doing wrong here.
I have signed up for a 15 day trial, and a 30 day trial, but I am not able to log back into either of these accounts. I linked them ...
0
votes
1
answer
1k
views
How to monitor API requests by user / connected app?
We have clients that access Salesforce API to write data and read data using the salesforce standard APIs. How do monitor the traffic, logs for these API calls? I'm also looking for ways to know the ...
0
votes
1
answer
74
views
Logging of a call from end-to-end through SalesForce
We are in the process of evaluating SalesForce for use in our enterprise and the one place we are getting a little hung up on is the ability to log and trace transactions. In the past, coming from a ...
0
votes
0
answers
19
views
Safe to create custom object log records in a security-reviewed managed package app?
I want to create a logging system for our AppExchange managed package that will be recorded by Usage Metric features and will also comply with security guidelines to pass the review.
To achieve this, ...
0
votes
0
answers
81
views
How to handle uncaught custom exceptions in a managed package that are not being logged
I've noticed that uncaught custom exceptions in managed packages aren't recorded in the debug log if it's thrown in the context of the Salesforce UI or Lightning community. The exception message can ...
0
votes
0
answers
109
views
Retriveing logs from "Developer script exception"
When a Developer script exception email is generated, is there any way to view\capture the debug log as well?
0
votes
0
answers
543
views
Why do I see blank debug logs in an org?
Can someone explain why I cannot see any logs in my debug logs? Looks completely blank? This is a production org and I'm looking at the logs in a managed package
0
votes
1
answer
225
views
Is there any logs for Email Alerts to verify if email was delivered?
I've created Email Alert with Process Builder to send email notifications to newly added users in my custom table. How can I see the status of this email sending? I've found the Email Log Files ...
0
votes
1
answer
38
views
Storing POSTdata in log in Salesforce
I have a custom VF page which receives POST from an external source and there's apex code to process that data. But before processing, I want to temporarily store the POST in Salesforce. I will delete ...
0
votes
1
answer
200
views
Access Salesforce logs externally
I would like to know if its possible to access Salesforce logs externally. We have requirement where different system interact with Salesforce and if there is any failure in between then we raise ...
0
votes
2
answers
367
views
My custom object for logging scheduled batch jobs isn't working
I recently created a custom object for logging certain scheduled Apex batch runs, but the code I added to the batchable class doesn't seem to be creating records in the custom object as intended.
The ...