Questions tagged [logging]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
23 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
1answer
30 views

Logging Apex exceptions through Event Bus while still rolling back the entire transaction?

I'm working on implementing a robust error logging framework for our org using Platform Events to ensure that we always capture errors in our code even if the transaction is rolled back. If I use ...
0
votes
1answer
16 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
0answers
15 views

How to import interactions/tasks in Salesforce? (To where you can see who called and what they talked about from contact object) [duplicate]

Me and 9 other employees made calls to people who have donated this year thanking them for their donation. I have a csv file of all people that called, who they called, and what was said on the call. ...
0
votes
1answer
35 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
1answer
43 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
0answers
19 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
75 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
44 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
62 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
24 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
1answer
26 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
81 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
263 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
136 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 ...
7
votes
2answers
1k 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
162 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
117 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
101 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
432 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
298 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
48 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
300 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
61 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
420 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
328 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
68 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, ...
17
votes
2answers
5k 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
486 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
108 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
150 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
726 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
693 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
79 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
543 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
49 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 ...
15
votes
2answers
13k 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 ...
3
votes
1answer
495 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
54 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
967 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
567 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
453 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
99 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
40 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
230 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 ...