Questions tagged [logging]

The tag has no usage guidance.

38 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
55
votes
1answer
828 views

How does Salesforce determine where to apply the “*** Skipped X bytes of detailed log” section in a log

Firstly, this question isn't about how to access missing log content when a *** Skipped 53353122 bytes of detailed log style message is encountered. That is covered in another question and revolves ...
4
votes
0answers
80 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
0answers
142 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
0answers
34 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
1answer
95 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
0answers
52 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
0answers
938 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
0answers
281 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
1answer
45 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
0answers
24 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 ...
1
vote
0answers
52 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
0answers
48 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
0answers
51 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
1answer
123 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
0answers
83 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
0answers
549 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 ...
1
vote
0answers
146 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
1answer
73 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
1answer
59 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
0answers
51 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
0answers
56 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. ...
0
votes
0answers
43 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
0answers
19 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
1answer
102 views

How to capture the request/response body of the standard REST API being hit by external systems

I am struggling with a requirement of having a complete logging mechanizm for both inbound and outbound API calls including the actual request body/header and response body. Outbound is covered by ...
0
votes
1answer
88 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
0answers
18 views

Email Log is not tracking this Email address aa.bb.aiu@aig.co.jp but Email Records are there in Salesforce

We are unable to track the email log for this email address aa.bb.aiu@aig.co.jp but we have the email record in salesforce. is it because of this email address looks different that abc@gmail.com ?
0
votes
1answer
517 views

View Logs from API calls made externally

In the developer console, I am only able to view the logs of an API call that I made from within the developer console (tests) or from workbench. But when I make a call from Postman, I do not see any ...
0
votes
1answer
43 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
0answers
14 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 ...
0
votes
0answers
35 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
0answers
44 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
0answers
281 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
1answer
37 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
1answer
35 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
2answers
632 views

Salesforce debug logs

I don't see my System.debug() comments in my debugger. I need these to return a response to an API callout response from Marketo. For example, System.debug(res2.getBody()); When I test the code ...
0
votes
1answer
129 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
2answers
248 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 ...
-1
votes
1answer
42 views

How can I determine the calling source of a trigger?

I have a managed package with different triggers. Is there a way to get the calling source that invoked the trigger action? For example: if other package initiated the action, get its namespace, and ...