The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
19 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.
0
votes
0answers
14 views

Missing the “Delivery Status Notification” Column in Email Log

From the Salesforce documentation here... https://help.salesforce.com/HTViewHelpDoc?id=email_logs_format.htm&language=en_US It shows a column "O" that should show Delivery Status Notification. ...
1
vote
2answers
76 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
53 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
43 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
21 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
230 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?
5
votes
4answers
479 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 ...
0
votes
2answers
47 views

Identifying Logged in Customer portal

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
44 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
68 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
114 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
126 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
57 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
219 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 ...
7
votes
3answers
1k 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
223 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 ...
4
votes
3answers
3k 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
856 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
94 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) ...
6
votes
2answers
1k 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
82 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.
11
votes
4answers
835 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
33 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 ...
8
votes
3answers
838 views

Inconsistent logging output!

I am trying to log some values for general testing and I am getting some really strange behaviour. Some of the logs are just not printing. This is what is happening: I am pressing a button that runs ...
1
vote
1answer
600 views

Using ForceIDE, how can I view the system.debug called from a class or trigger? ( I can see the ones from my test Class)

I am using the Eclipse Force.com IDE and have created a test class as well as a trigger. I put a system.debug in both but the Apex Test runner only displays the debug of the test class and not the one ...
5
votes
1answer
2k views

Where can I read the debug output of test classes

Suppose I have a test class TestClassName. @isTest private class TestClassName { static testMethod void testMethodName() { System.debug('My debug statement'); System.assertEquals(1, ...
4
votes
2answers
277 views

How can I query the LoginHistory object from Apex?

It is sort of available via the user interface, and sort of available via API calls (after v21), and sort of available via reports - but I want to actually query the object directly and drive ...
2
votes
2answers
96 views

How can I tell how long a user was logged in?

Please note that I don't want to know the interval between logins - I want to know how many minutes (or hours) elapsed between a login and the subsequent logout. Is it possible to calculate this in ...
11
votes
2answers
1k views

How to efficiently profile Visualforce components and their controllers?

I have a quite complex Visualforce component (edit grid) that is running to slow (2-4 seconds to display) When I say complex I mean: The Component itself is calling other components Many thousand ...
3
votes
3answers
316 views

Adjust logging levels during code deployment?

Is there a way to adjust the various logging levels when deploying code to production through the IDE? The log is being truncated and I'm not seeing error details that are preventing my deployment. ...
2
votes
1answer
361 views

Deployment Results - What do the Line and Column refer to?

I am trying to deploy an application from a sandbox to production. Validation of the inbound change fails. When I view the reasons for the failure I see there are five headings in the Component ...
3
votes
0answers
595 views

Has anyone run into these two Winter 13 preview issues? [closed]

I know the Winter 13 preview has only just appeared, but I've run into two issues and am wondering if anyone else can reproduce them. I'm having trouble deploying code from a standard dev org ...