The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
29 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 ...
0
votes
1answer
42 views

How to create ongoing log of database actions on Custom Object records?

Context: A specific kind of sObject which is the detail in a master-detail relationship is getting mysteriously deleted across a number of different Master records. I have been trying to narrow the ...
4
votes
2answers
38 views

Console.log truncates my debug `…}`

I'm using developer console log to see all my debug logs but it cuts off my log after 1920 characters How do I fix that? and even I have tried download the log and open in a notepad++ but still I ...
2
votes
1answer
45 views

Track number of Calls/Emails from Case

I would like to track on how many Calls and Email Sent/Received on Case.We have enabled email 2 case and sending emails using Send an Email button(Emails related list) on Case and Logging calls from ...
0
votes
1answer
21 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
1answer
60 views

ExactTarget: where does one see logged unsubscribe events

We are logging events in ExactTarget when people unsubscribe from our newsletters, a la ...
0
votes
0answers
20 views

Quick way to turn off logging for a number of apex classes?

With Winter 16 release - you can now set the logging level for individual apex classes. But this seems very manual and you have to set it for a specific time period. Can anyone suggest a better way ...
1
vote
2answers
52 views

Apex Job - Writing to a log

I have been working with a few classes in the Developer Console and Execute Anonymous Window. All of these classes have various system.debug() calls through the code - the log entries are used for ...
1
vote
1answer
36 views

Debug Log of deployment test execution

Is it possible to see debug logs from Deployment Tests? I'm having some test's fail and it would be very helpful to see the logs.
1
vote
0answers
20 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
29 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 ...
1
vote
0answers
20 views

Features of logging tools in Salesforce [closed]

What logging tools do you use in Salesforce, and what features do they offer? Such as: Loggly: https://www.loggly.com/ Splunk Cloud 'https://splunkbase.splunk.com/app/1931/'
13
votes
1answer
164 views

What is the 'INTERNAL' debug level?

According to Setting Debug Log Filters, the debug levels for each category are as follows: ERROR WARN INFO DEBUG FINE FINER FINEST However, when we create a new User Trace Flag (Setup > Logs > ...
3
votes
3answers
444 views

MAXIMUM DEBUG LOG SIZE REACHED

I am running Apex Tests and I need to see the debug value So I have used debug statements similar to below one: System.debug(Logginglevel.ERROR , ' ::::::: My Debug :::::::::::::') ; Still I am ...
7
votes
1answer
187 views

Expense of using System.debug

I've seen code on an inherited project output debug info while iterating large collections of objects. System.debug(Logginglevel.DEBUG, 'sQuery=' + sQuery); If the system logging level is set ...
1
vote
3answers
70 views

Debug suddenly stops recording debug logs [duplicate]

I am having very very very frustrating problem here. I am coding my app, dumping to debug logs whatever I need and everything works magically. But at some point apex stops printing my debug logs. So i ...
0
votes
0answers
19 views

How do new trace settings work

Aside from preventing debug logs from consistently showing up in the developer console, can someone explain how the new trace logs are suppose to work? Also, what is the purpose of the expiration ...
0
votes
2answers
50 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 ...
7
votes
1answer
368 views

Best practice to monitor Apex function execution time/performance?

We have been running on Salesforce platform for just over 6 months with considerate amount of customizations. The data volume has been growing and features have been added into existing codebase ...
2
votes
1answer
59 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
2answers
207 views

How to disable the debug log for other classes except for my class?

I am trying to increase the test coverage and it keeps failing and few of the useful debug log statements from my test class are not showing up and below are the ways I tried: 1): ...
0
votes
1answer
30 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
348 views

System.debug is not displaying output

I am unable to print the message in the with System.debug; I given as System.debug('Hello SFDC');
8
votes
1answer
143 views

Does the Summer ’15 release remove the ability to set test logging levels with the DebuggingHeader?

The Summer ’15 release notes have a section called Receive Debug Logs Predictably. It currently states that the order of precedence for debug logs will be: Trace flags set in the Developer ...
0
votes
0answers
151 views

Logging Click to Dial Activities

I was wondering if there is a way to intercept "click to dial" event on SalesForce and possibly track this event with an Activity. My idea was to intercept click to dial with a Visualforce or ...
3
votes
2answers
84 views

Using Debug Logs Efficiently for Tracking Errors

A general question. We all put some System.debug() statements in our controllers for error handling, for info messages, etc. But there are plenty of logs in the system. When some exception throws, ...
7
votes
1answer
365 views

Issues displaying logs in Developer Console? Possibly Summer 15 related

I tend to keep a Developer Console open when testing code, so that I can get debug logs automatically for my session. Today I am finding that when I open the console I do see logs appear, but after a ...
0
votes
2answers
142 views

Debug log getting truncated [duplicate]

Since there are so many classes and methods called from my class method, the debug log generated is very huge and getting truncated. How can i see the full debug log ? Is there a way through which i ...
0
votes
1answer
164 views

How do I disable debug log when deploying and running tests with ant migration tool?

I am running into an issue where every time I deploy to my org with the ANT tool the output is flooded with unit test debug logs. I have added logType="None" to the build.xml which doesn't help. I ...
1
vote
1answer
288 views

Salesforce Email Service Debugging

I have defined an email service which unfortunately isn't working. Is there a place I can monitor errors? The class doesn't appear in debug logs.
0
votes
2answers
81 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 ...
2
votes
0answers
46 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?
1
vote
1answer
52 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 ...
0
votes
0answers
98 views

SFLogger causes crash on running application

I am encountering a crash when using the salesforce iOS SDK. I setup my application similarly to the example mobile application given by the forceios command line library. On top of the standard ...
1
vote
1answer
24 views

Overnight debugging of a specific user

Anyone find a way to extend the logging capability of the developer console, or perhaps an appexchange app that will allow extended exception logging for overnight batch apex and integrations? Trying ...
0
votes
2answers
275 views

Access debug log messages

I can query debug logs via ApexLog object with SOQL, but the result doesn't contain an actual message. How can I access the message? Is it achievable with SOQL or some API?
0
votes
1answer
23 views

Accessing Setup Log for Longer than 180 Days/20 Entires

We have a requirement to have record setup activities for much longer that 180 days/20 Entries limitations. We were thinking of copying the log to another object either in SF or outside a few times ...
0
votes
1answer
255 views

Capture subject line in send log

I'm trying to capture the emails subject in the send log. Is there any way for me to do this? To the 'experienced' community members: Not sure how to rephrase this any better. Maybe you could tell ...
1
vote
1answer
197 views

Debug Log not working with RESTResource

I have the following class: @RestResource(urlMapping='/myservice') global with sharing class MyService { @HttpPost global static String newMessage() { RestRequest req = ...
3
votes
0answers
411 views

REST Api Debug logs

Does anyone know how to enable debug logs for code executed through a REST interface? I have a stream of data that comes into Salesforce, but it is a nightmare trying to debug it based solely on the ...
2
votes
3answers
632 views

Replacement for System.out.println() log statement - Please don't say “Debug Logs”

In java it's easy to throw in a Sytem.out.println() and get some helpful info on the console. The closest I have come to that on Force.com is system.debug(); and then plowing through pages of Debug ...
4
votes
1answer
481 views

Is login history only stored for 6 months?

Is login history only stored for 6 months? I appreciate it's in the security audit controls workbook: Because of the volume of data, login history is automatically removed after six months. If you ...
2
votes
0answers
473 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 ...
0
votes
2answers
369 views

Read from and write to file or Document

Is there any easy way to read from and write to a file in Salesforce?. I want to store metadata, let's say something like log data of a user, by mimicking the functionality of log4j.
1
vote
2answers
832 views

How can I generate debug logs when I run unit tests from MavensMate?

Generating and viewing debug logs in MavensMate has been clarified before and works great for me - I especially like the Scrub feature. However, I can't generate a log when I run unit tests. To ...
2
votes
2answers
528 views

System Debug not displaying inside constructor

If I add the Debug statements inside the constructor it is not displaying in the log. Please suggest why this is happening.
3
votes
1answer
65 views

I have a failing API call. What tools can I use to investigate it?

Yesterday my app made 23 calls to salesforce's API that failed, and I would like to find a record of those calls on salesforce user account. After about an hour of looking, I haven't been able to ...
1
vote
1answer
50 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 ...
4
votes
2answers
4k views

How can I see when a workflow rule exceuted?

I want to be able to check when a workflow rule executed and see the result, is there a way of doing this?
7
votes
4answers
2k views

No log for Visualforce errors

I'm having a problem that I think has something to do with recent version because I don't remember having this problem before. Basically, when I have an error in a Visualforce page, I don't see the ...