You need to sign in to do that
Don't have an account?
Harald Klose
newly entered lines of system.debug are not showing
Hello,
is something wrong with system.debug? It is not showing new Debug logs. The lines that were entered
some time ago are still displayed. The lines that were entered yesterday are not showing. Here is the
Visualforce Page line whith the button I clicked:
<apex:commandButton action="{!BarVerkaufLieferungen_speichern}" value="Zuordnung speichern" onclick="return confirmCancel()" immediate="true" rendered="{!Sani_prop}"/>
Her is the controller code snippet:
line 5354 public PageReference BarVerkaufLieferungen_speichern() {
line 5355 system.debug(LoggingLevel.DEBUG,'################## LiPosList_prop ' + LiPosList_prop);
And here you see the debug log lines:
13:06:17.205 (205702000)|CODE_UNIT_STARTED|[EXTERNAL]|01pA0000002QLUm|BarVerkaufWizardController invoke(BarVerkaufLieferungen_speichern)
13:06:17.205 (205817000)|SYSTEM_MODE_ENTER|false
13:06:17.205 (205854000)|STATEMENT_EXECUTE|[5354]
13:06:17.205 (205871000)|STATEMENT_EXECUTE|[5355]
13:06:17.206 (206496000)|PUSH_TRACE_FLAGS|[5355]|01pA0000002QLUm|BarVerkaufWizardController|APEX_CODE,INFO;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
13:06:17.206 (206597000)|STATEMENT_EXECUTE|[128]
13:06:17.206 (206613000)|STATEMENT_EXECUTE|[2678]
13:06:17.206 (206625000)|STATEMENT_EXECUTE|[2679]
After this I can't find any lines with the hash in the debug log!
The debugs that were entered before, are still displaying.
Any ideas? Thanks!
Harald
is something wrong with system.debug? It is not showing new Debug logs. The lines that were entered
some time ago are still displayed. The lines that were entered yesterday are not showing. Here is the
Visualforce Page line whith the button I clicked:
<apex:commandButton action="{!BarVerkaufLieferungen_speichern}" value="Zuordnung speichern" onclick="return confirmCancel()" immediate="true" rendered="{!Sani_prop}"/>
Her is the controller code snippet:
line 5354 public PageReference BarVerkaufLieferungen_speichern() {
line 5355 system.debug(LoggingLevel.DEBUG,'################## LiPosList_prop ' + LiPosList_prop);
And here you see the debug log lines:
13:06:17.205 (205702000)|CODE_UNIT_STARTED|[EXTERNAL]|01pA0000002QLUm|BarVerkaufWizardController invoke(BarVerkaufLieferungen_speichern)
13:06:17.205 (205817000)|SYSTEM_MODE_ENTER|false
13:06:17.205 (205854000)|STATEMENT_EXECUTE|[5354]
13:06:17.205 (205871000)|STATEMENT_EXECUTE|[5355]
13:06:17.206 (206496000)|PUSH_TRACE_FLAGS|[5355]|01pA0000002QLUm|BarVerkaufWizardController|APEX_CODE,INFO;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
13:06:17.206 (206597000)|STATEMENT_EXECUTE|[128]
13:06:17.206 (206613000)|STATEMENT_EXECUTE|[2678]
13:06:17.206 (206625000)|STATEMENT_EXECUTE|[2679]
After this I can't find any lines with the hash in the debug log!
The debugs that were entered before, are still displaying.
Any ideas? Thanks!
Harald
try below one line code ..
Thanks.
Rockzz
All Answers
try below one line code ..
Thanks.
Rockzz
This is the excerpt from the salesforce article "Each debug log can only be 2 MB. Debug logs that are larger than 2 MB are reduced in size by removing older log lines, such as log lines for earlier System.debug statements. The log lines can be removed from any location, not just the start of the debug log."
Below is the link to the full article
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_debugging_debug_log.htm