Questions tagged [logging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
47 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
37 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
37 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
40 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
1answer
28 views

How to connect Salesforce logs output to Sematext or Elastic Search or any other Log Management system? [closed]

Is there any way to connect Salesforce to log management systems without custom coding in order to track all logs of our apps in one place?
1
vote
1answer
63 views

Stack trace reference in Salesforce Commerce Cloud

On my sandbox, in my logs, I got an error and I got a reference to the stack trace of the error: Stack trace <ref:a6d7f20c52ed080c41c1e8e66b1bac4f> Is it possible to find the stack ...
0
votes
0answers
16 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
39 views

Send Logging not working on Sandbox

We are trying to log sends in a Send Log DE in Sandbox SFMC BU, but the data is not getting populated. Does Send Logging works in Sandbox? Thanks, Sanchit
2
votes
2answers
57 views

Are Web-to-Leads tracked as Event Logs?

Background I’m using Salesforce Event Logs to Monitor my Salesforce instance. Question Is Web-To-Lead tracked as part of Salesforce Event Logs?
-1
votes
1answer
31 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 ...
1
vote
0answers
41 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, ...
14
votes
1answer
1k views

Developer Console suddenly truncating System.Debug output

Like many devs, I use JSON.Serialize() with System.Debug() to output large lists/objects to the Debug Log when needed. Over the past few days, I've run into a new issue with Developer Console where ...
0
votes
1answer
182 views

Audit Trail VS Event monitoring [closed]

what are the difference between Audit Trail and Event monitoring? Which informations can I retrieve from one and from another?
0
votes
1answer
479 views

Debug logs for failed REST API calls

I'm debugging an issue where our customer's iOS app (which makes REST API calls to Salesforce via the SDK) is encountering data sync errors. We believe the API is returning error messages but they are ...
0
votes
1answer
270 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
46 views

sys admin cannot log as some users

I have sys admin profile. I dont understand why I am not able to log as some users which have the same custom profile. For example in the image, "Analyst T.O" has the same profile as "Analyst, Credit" ...
0
votes
1answer
78 views

Enable send logging to a data extension

I have set up a send logging DE. So far so good. On the salesforce help I see that I have to enable the send logging to a data extension option: https://help.salesforce.com/articleView?id=...
5
votes
2answers
353 views

Custom Logging, @Future, Transaction Control

I have a similar question to these two: Custom Logging and Future Methods Custom Exception Handling & Logging But my question this time is: can I put the @Future annotation on the Logger Class? ...
5
votes
1answer
614 views

Exceptions and DML

It was to my understanding that when you throw an exception all previous operations are rolled back. When an exception occurs, code execution halts and any DML operations that were processed ...
3
votes
1answer
505 views

Custom Logging and Future Methods

I have been reading up on the custom logging, DML, and exceptions but haven't seen anything that talks about @Future methods and exceptions. I have two scenarios: A Button is clicked on a Lead, ...
1
vote
0answers
39 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 ...
2
votes
2answers
174 views

Hiding JS console logs with a Lightning Component

I need to hide all javascript console logs in production environment.There is a component that i use in every lightning component(i.e Base).What is the most efficient way to hide the logs.I am ...
0
votes
1answer
42 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 ...
14
votes
2answers
7k views

Maximum log level exceeded in Developer Console

Recently I have regularly been getting the error message below when opening the Developer Console: The Developer Console didn't set the DEVELOPER_LOG trace flag on your user. Having an active ...
2
votes
1answer
257 views

SFDX: Auto-Generated Log Levels are set to 'INFO' by default

I have an understanding of how debug logs work with the Developer Console and how to configure the log levels below in the UI, however, I'm unsure of how to set these log levels in VS Code with SFDX ...
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, ...
6
votes
1answer
473 views

Is there a better way to debug Salesforce automation (triggers/workflows/process builder) than Developer Console > Perspective Manager?

I have some very simple automation in place for demoing Salesforce "Order of Execution". I have a field on called Version__c which increments by 1 in a trigger and a workflow. This is what happens: ...
0
votes
1answer
268 views

SOQL query log for oauth-connected application

Is there a log/audit trail of API calls made by an oauth-connected application? I've found some logging inside the Salesforce developer console, but it seems to only apply to APEX code. Any idea how I ...
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 ...
1
vote
0answers
47 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 ...
11
votes
1answer
330 views

Is $A.log (aura.log) long gone?

A colleague flagged the availability of $A.log (found in a blog) so we've spent a short while looking at it. The links from e.g. How to use aura.log() and where does it print it output? now point to ...
4
votes
0answers
76 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 ...
0
votes
1answer
48 views

How would I go about logging in this scenario?

This is my scenario. I have a trigger on a custom object. The trigger invokes a future method in a class. This future method then does a series of callouts using a helper class to update other custom ...
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 ...
1
vote
1answer
113 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 ...
0
votes
1answer
186 views

Marketing Cloud Enhanced FTP logs

Does Enhanced FTP log IP addresses from users? I mean a history of IPs, logins.
0
votes
1answer
815 views

SMS Send Logging Data Extension

We need to log few additional custom fields after sending SMS from Marketing Cloud using a Journey that has a Salesforce Event and starts after the creation of an opportunity in SF injecting a contact....
1
vote
1answer
1k views

What custom fields can I include in the SFMC send log?

I've just set up a SFMC send log and have included a few custom fields. But at first glance the data in the send log isn't that useful to me. How can I create a send log that includes data from the ...
3
votes
1answer
84 views

Debug Log Issue: Cannot set class-level logging (only trigger)

In an effort to remove unwanted ENTERING_MANAGED_PKG messages (which I cannot get rid of in Summer 17, I thought I'd try adding class-specific logging: From the Dev Console, choose Debug->Change ...
0
votes
2answers
620 views

Send Logging Marketing Cloud Email Sends

we wanted to create a Send Log DE. We went to create a DataExtension based on the SendLog template. But as shown in screenshot we do NOT have the option to see and choose the sendLog template for ...
1
vote
2answers
56 views

Logging for @future method that sets up user

I have an @future method that sets up a user - it is in a seperate future method to avoid errors relating to DML on set-up and non-setup objects in the same transaction. I would like to implement ...
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?
1
vote
1answer
108 views

Are SOQL query logs visible in managed package?

I see that the queries made by the managed package are visible in the subscriber org. Is that the default behavior or can I limit the access to the SOQL query logs?
6
votes
3answers
3k views

Access to debug logs in managed package

Should you need a custom logging class for your managed package? I'm aware that you can use subscriber support but is there any benefit of using custom logging? If you do implement a custom logger, ...
2
votes
1answer
81 views

Streaming logs in API 37 and up

In API 36 you could subscribe to a streaming topic (/systemTopic/Logging) for logs. As of API 37, that no longer seems to work. How do you subscribe to the logging steaming topic in API 37+?
0
votes
1answer
229 views

How to delete Batch Process Logs in Salesforce?

Was running some tests in my dev org and got this: System.DmlException: Insert failed. First exception on row 0; first error: STORAGE_LIMIT_EXCEEDED, storage limit exceeded: [] I know the issue ...
0
votes
1answer
742 views

Get Debug Logs from Salesforce with MavensMate

I'm working with MavensMate v0.0.11-beta7 and using Salesforce API v.38 in configuration. I would like to get Debug Logs from Salesforce with MavensMate in order to open the files with Sublime Text. ...
12
votes
1answer
3k views

Get Currently Executing Class/Method Name?

I have seen a few different flavors of exception logging utility out there, and a common concept is to capture the class and method that were running when the exception was thrown. In the case that ...
4
votes
3answers
304 views

What do the colors in Developer Console's Save Order tab represent?

Background/Explanation: If you use Developer Console, and you open a Log file with the Analysis or All Perspective's enabled (Debug > Switch Perspective), you gain a "Save Order" tab that shows ...