The logging tag has no wiki summary.
2
votes
1answer
25 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.
6
votes
4answers
73 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
25 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 ...
5
votes
2answers
81 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
32 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 ...
3
votes
1answer
136 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
73 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
42 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 ...
9
votes
2answers
260 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
101 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
176 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
415 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 ...