The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
17 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
29 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
17 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
0answers
9 views

Service invokation error handling logging [duplicate]

I am calling many external SOAP based web services from controller. Is there a best practice framework / pattern / app using which i can achieve exception handling and logging while calling external ...
0
votes
2answers
61 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');
7
votes
1answer
99 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
137 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
51 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, ...
5
votes
1answer
117 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
0answers
27 views

Custom Logging Framekwork

Situation From time to time I have to write my own custom logging class. Now I'm wondering: Is there some kind of Custom Logging Framework available? In general I'm thinking of a framework similar ...
0
votes
2answers
45 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
68 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
43 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
47 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
34 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
31 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
57 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
1answer
50 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
18 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
0answers
25 views

How can my users get their email log activity?

I am trying to give my users that ability to get their email sent from SF history. The suggested solution is not acceptable, as it requires the "Modify All Data" for the user/profile. Another option ...
0
votes
1answer
80 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
61 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
137 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
304 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
188 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 ...
1
vote
0answers
345 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
103 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
526 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 ...
1
vote
1answer
325 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. Thanks in Advance Dhiliban.
3
votes
1answer
51 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
39 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 ...
3
votes
2answers
2k 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?
6
votes
4answers
1k 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 ...
1
vote
3answers
111 views

Identifying which Customer Portal a User is logged into via Apex

I have two customer portals say A and B. When i log in into any one of the customer portal, In my apex class i want to identify for which portal i am logged in. Is it possible to identify for which ...
2
votes
2answers
156 views

In System Logs what does the false|true mean for Variables

There's a lot I don't understand about the Execution Logs from Salesforce. Maybe some of it is just my limited programming experience (Apex mostly, smattering of Python). I feel like there must be ...
3
votes
1answer
102 views

ExactTarget JAVA-SDK - Turn off logging of each SOAP Call

Please advise on how to turn off the SDK logging of each SOAP Call. I must be missing something obvious...Thank you!
2
votes
2answers
344 views

Log Exceptions during trigger in a custom object

I need to capture exceptions that happen during trigger executions in a custom object. The conclusion here, is that there is no way to do this. Is it possible to hit a Apex webservice callout which ...
2
votes
1answer
281 views

Log Callout Exception - Uncommitted work pending workaround

I want to perform 5 callouts and log any callout exceptions as a new case. Since mixing callouts and DMLs is not allowed, I made the logging asynchronous. Unfortunately, an ExecutionException ...
2
votes
0answers
72 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 ...
5
votes
1answer
547 views

How do I tell if a message was sent to a contact?

I am trying to troubleshoot emails not being received by a customer. Under the contact I see that the user sent 1 email to the customer. However, in the log file I see 2 internal message id's, 2 ...
8
votes
3answers
2k views

Can I throw an exception in apex and still log the caught exception?

I'm really wrestling with the best error handling strategy. My goal is to handle all exceptions that I can identify, log them to a table in the database, and surface a helpful message about what ...
10
votes
3answers
299 views

Trigger on ApexClass Object

I want to try to log changes on apex classes in my org. Everytime the apex class is edited by someone i want to log the username and timestamp. Sounds easy but as i tried to write a simple trigger on ...
5
votes
3answers
7k views

Best practices for monitoring Scheduled Apex and Batch Apex?

We have multiple Apex jobs running, both from Schedulable and Batchable code. While an attentive SA could examine the Apex Jobs list to check that everything is OK, it seems a better idea to have ...
3
votes
1answer
2k views

How to see full Status Detail of Apex Job

I have an apex job that is failing with a null pointer exception. The status detail unfortunately cuts the stacktrace just short of where it is actually helpful. Is there anyway to view the full ...
4
votes
1answer
121 views

Is it possible for an SFDC Apex unit test to parse a debug log?

I'm currently playing around with SFDC-Http Integration and the new Mock server functionality. In the Apex code which I am testing, I have this branch condition: if (response.getStatusCode() != 200) ...
9
votes
3answers
2k views

How to check debug logs for installed App?

how to check debug logs for installed app? Is there any way to check those ? What are the best ways/practice to follow when developing app, so that we can get some logs in case something goes wrong on ...
2
votes
1answer
109 views

access Monitored Users

I got a simple question, for custom logging I need to lookup some ApexLogs. Is there a way to access the Monitored Users for debug logging? I like to create or reset them programmatically.
15
votes
4answers
2k views

Need to get logfile smaller

I have a massive log file which breaks the 2Meg limit and hence truncates. There is some information I need that I am logging by doing System.debug However, I don't get to see because of the ...
2
votes
1answer
36 views

When is a new logfile used?

I am trying to debug something here and one thing that is making it harder is that force uses several log files for the output. I click a button, request happens and multiple logfiles are generated ...