Questions tagged [logging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Reuqest for Run Time via REST API

How we can get RUN_TIME in Apex REST API Event Type via Apex. For example, I got Method column by METHOD__c = RestContext.request.httpMethod. Is there a way to get Run time as well? Thanks https://...
0
votes
0answers
29 views

Identify which email alert triggered from email logs

Is there a way to identify which email alert sent a particular email I can see in the logs? Even being able to find out which email template was used would work. It seems like there should be a way to ...
0
votes
0answers
15 views

Splunk Event Log interval

We have our Splunk instance connected to an API user per the specs of the Splunk App for Salesforce. One of the things we are trying to get more insight into is the event log so we can create alerts, ...
0
votes
1answer
29 views

Are emails sent from Apex recorded anywhere?

I am trying to determine the frequency of Apex emails to troubleshoot a limit issue I can't find references to the emails sent from Apex (Messaging.sendEmail / Messaging.SingleEmailMessage) neither in ...
0
votes
0answers
16 views

Where do I find the All search logs(Queries)

In Debug logs and Developer Console, We can find the apex logs and Database logs. Is there any other place where we can find the SEARCH logs?
0
votes
0answers
7 views

Can you display emails on a record if they are logged to an object via Salesforce for Outlook?

I am currently using Salesforce for outlook and using the log functionality to log the email to a case. However it does not support logging to an object(Case in my instance) and a contact (when logged ...
0
votes
1answer
22 views

How to track the source of Custom Object updates?

I'm facing many parasite update subscription API events for Key_Feature__c object. Some of them are happening on the records that describe the activities finished in deep past. These records do not ...
2
votes
2answers
68 views

Get app analytics across deployments?

If I develop a Salesforce AppExchange app and multiple Salesforce customers install the the app into their Salesforce orgs, as the developer, can I get customized analytics/stats from all usage of my ...
4
votes
1answer
132 views

Using SendLog to retrieve User-Initiated Send name for each Job Id

After realizing that it is not possible to receive the name of the User-Initiated Send in the Data Extract activity of Automation Studio, we contacted Salesforce for a workaround. Our client, in ...
1
vote
0answers
80 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 ...
5
votes
1answer
756 views

Logging frameworks that use Platform Events - what is the full list?

I've found these two excellent projects: Andrew Fawcett's Advanced Logging with Platform Events Robert Sösemann's Apex Unified Logging that use Platform Events for logging and include a client to ...
0
votes
0answers
83 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 ...
1
vote
0answers
82 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
76 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
265 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
194 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
38 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
220 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 trace ...
0
votes
1answer
51 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
303 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
185 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
61 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, ...
16
votes
2answers
3k 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
346 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
60 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
122 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
622 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
1k 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
622 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
65 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
415 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
48 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
11k 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
419 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
803 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: ...
1
vote
1answer
460 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
15 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, ...
1
vote
0answers
56 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
423 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
89 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
51 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
37 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
171 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
287 views

Marketing Cloud Enhanced FTP logs

Does Enhanced FTP log IP addresses from users? I mean a history of IPs, logins.
0
votes
1answer
1k 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
2k 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
126 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
888 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 ...