function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dipu2dipu2 

Force.com Debug Log is truncated

My debug log gets truncated in Apex Test Runner. 

The debug log is filled with the following statements. Is there a way to avoid including these statements so that my debug log is not truncated.

10:53:16.582 (14582455000)|SYSTEM_METHOD_ENTRY|[14]|LIST.iterator()
10:53:16.582 (14582914000)|SYSTEM_METHOD_EXIT|[14]|LIST.iterator()
10:53:16.583 (14583289000)|SYSTEM_METHOD_ENTRY|[14]|system.ListIterator.hasNext()
10:53:16.583 (14583318000)|SYSTEM_METHOD_EXIT|[14]|system.ListIterator.hasNext()
10:53:16.583 (14583347000)|SYSTEM_METHOD_ENTRY|[14]|system.ListIterator.next()
10:53:16.583 (14583379000)|SYSTEM_METHOD_EXIT|[14]|system.ListIterator.next()
10:53:16.583 (14583473000)|SYSTEM_METHOD_ENTRY|[15]|LIST.add(ANY)
10:53:16.583 (14583552000)|SYSTEM_METHOD_EXIT|[15]|LIST.add(ANY)

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
kiranmutturukiranmutturu

you can set the filters on debuglogs .....create the debug log for the respective user and click on fliters and in filter details make system drop down as none.. hope you are lokking for this..

All Answers

kiranmutturukiranmutturu

you can set the filters on debuglogs .....create the debug log for the respective user and click on fliters and in filter details make system drop down as none.. hope you are lokking for this..

This was selected as the best answer
dipu2dipu2

I meant the log that we see in Eclipse IDE when using Apex Test Runner.

Thanks for your response. On that Debug log filters I still cannot skip Entry/Exit stattements like the following.

15:39:43.678 (2678347000)|METHOD_ENTRY|[227]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678361000)|METHOD_EXIT|[227]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678373000)|METHOD_ENTRY|[228]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678385000)|METHOD_EXIT|[228]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678395000)|METHOD_ENTRY|[229]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678407000)|METHOD_EXIT|[229]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678423000)|METHOD_ENTRY|[233]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678436000)|METHOD_EXIT|[233]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldName()
15:39:43.678 (2678492000)|METHOD_ENTRY|[221]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldType()
15:39:43.678 (2678506000)|METHOD_EXIT|[221]|01pA0000002xK6J|SObjectDescribeInfo.FieldInfo.__sfdc_FieldType()

 

Starz26Starz26

Same thing for eclipse. There is a button to set the logging levels

dipu2dipu2

In eclipse the filter button(Log Category) cannot be used for excluding system drops.