<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: If Computers Could Barf &#8211; Salesforce Debug Log</title>
	<atom:link href="http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/</link>
	<description>Force.com - jQuery - Technology - Life</description>
	<lastBuildDate>Sun, 05 Feb 2012 03:04:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Andy</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-12518</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 21 Nov 2011 10:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-12518</guid>
		<description>I&#039;ve been using the &quot;Debug Logs&quot; page in the SF UI and struggling with the debug code ever since they changed the output. I can&#039;t believe I&#039;ve only just realised that the debug logs will also appear in the &quot;System Log&quot; pop-up. Am I an idiot, or is this not particularly well sign-posted in the docs? 

All of the examples I&#039;ve seen of the system log being used showed somebody manually typing in and executing a method, etc. My debugging potentially just got a lot easier....</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using the &#8220;Debug Logs&#8221; page in the SF UI and struggling with the debug code ever since they changed the output. I can&#8217;t believe I&#8217;ve only just realised that the debug logs will also appear in the &#8220;System Log&#8221; pop-up. Am I an idiot, or is this not particularly well sign-posted in the docs? </p>
<p>All of the examples I&#8217;ve seen of the system log being used showed somebody manually typing in and executing a method, etc. My debugging potentially just got a lot easier&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-7097</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 04 Aug 2011 22:36:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-7097</guid>
		<description>Fast forward to August 2011.  What are your opinions on the debug log now?</description>
		<content:encoded><![CDATA[<p>Fast forward to August 2011.  What are your opinions on the debug log now?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebi</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-738</link>
		<dc:creator>Sebi</dc:creator>
		<pubDate>Fri, 09 Apr 2010 11:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-738</guid>
		<description>They should dim the &quot;extra lines&quot; and make the old stuff stand out more. That way the noise is somewhat out of the way. If you need the info, you can always focus on it with a glance.</description>
		<content:encoded><![CDATA[<p>They should dim the &#8220;extra lines&#8221; and make the old stuff stand out more. That way the noise is somewhat out of the way. If you need the info, you can always focus on it with a glance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-636</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 17 Mar 2010 16:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-636</guid>
		<description>&lt;a href=&quot;#comment-539&quot; rel=&quot;nofollow&quot;&gt;@Rich Unger &lt;/a&gt; 
I tried the trick, system.debug(LoggingLevel.Info,&#039;foo&#039;); and this is what I get, all I care about is line 5.

15.0 APEX_CODE,INFO
9:19:8.804&#124;EXECUTION_STARTED
9:19:8.804&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VF-Outer
9:19:8.804&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.860&#124;USER_DEBUG&#124;[195,11]&#124;INFO&#124;null
9:19:8.860&#124;CODE_UNIT_FINISHED
9:19:8.860&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.869&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.870&#124;CODE_UNIT_FINISHED
9:19:8.870&#124;CODE_UNIT_FINISHED
9:19:8.872&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.872&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.872&#124;CODE_UNIT_FINISHED
9:19:8.872&#124;CODE_UNIT_FINISHED
9:19:8.873&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.873&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.873&#124;CODE_UNIT_FINISHED
9:19:8.873&#124;CODE_UNIT_FINISHED
9:19:8.966&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.967&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.967&#124;CODE_UNIT_FINISHED
9:19:8.967&#124;CODE_UNIT_FINISHED
9:19:8.969&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.969&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]createContact
9:19:8.969&#124;CODE_UNIT_FINISHED
9:19:8.969&#124;CODE_UNIT_FINISHED
9:19:8.972&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:8.972&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.84&#124;CODE_UNIT_FINISHED
9:19:9.84&#124;CODE_UNIT_FINISHED
9:19:9.88&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.88&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]territoryID
9:19:9.88&#124;CODE_UNIT_FINISHED
9:19:9.88&#124;CODE_UNIT_FINISHED
9:19:9.98&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.98&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]AE
9:19:9.98&#124;CODE_UNIT_FINISHED
9:19:9.98&#124;CODE_UNIT_FINISHED
9:19:9.102&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.102&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.103&#124;CODE_UNIT_FINISHED
9:19:9.103&#124;CODE_UNIT_FINISHED
9:19:9.103&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.103&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]ISR
9:19:9.103&#124;CODE_UNIT_FINISHED
9:19:9.103&#124;CODE_UNIT_FINISHED
9:19:9.106&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.106&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]PBM
9:19:9.106&#124;CODE_UNIT_FINISHED
9:19:9.106&#124;CODE_UNIT_FINISHED
9:19:9.109&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.109&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]primaryContact
9:19:9.109&#124;CODE_UNIT_FINISHED
9:19:9.109&#124;CODE_UNIT_FINISHED
9:19:9.111&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.111&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]body
9:19:9.111&#124;CODE_UNIT_FINISHED
9:19:9.111&#124;CODE_UNIT_FINISHED
9:19:9.112&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.112&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.112&#124;CODE_UNIT_FINISHED
9:19:9.112&#124;CODE_UNIT_FINISHED
9:19:9.115&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]VForcePage
9:19:9.115&#124;CODE_UNIT_STARTED&#124;[EXTERNAL]error
9:19:9.115&#124;CODE_UNIT_FINISHED
9:19:9.115&#124;CODE_UNIT_FINISHED
9:19:9.158&#124;CODE_UNIT_FINISHED
9:19:9.158&#124;EXECUTION_FINISHED</description>
		<content:encoded><![CDATA[<p><a href="#comment-539" rel="nofollow">@Rich Unger </a><br />
I tried the trick, system.debug(LoggingLevel.Info,&#8217;foo&#8217;); and this is what I get, all I care about is line 5.</p>
<p>15.0 APEX_CODE,INFO<br />
9:19:8.804|EXECUTION_STARTED<br />
9:19:8.804|CODE_UNIT_STARTED|[EXTERNAL]VF-Outer<br />
9:19:8.804|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.860|USER_DEBUG|[195,11]|INFO|null<br />
9:19:8.860|CODE_UNIT_FINISHED<br />
9:19:8.860|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.869|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.870|CODE_UNIT_FINISHED<br />
9:19:8.870|CODE_UNIT_FINISHED<br />
9:19:8.872|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.872|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.872|CODE_UNIT_FINISHED<br />
9:19:8.872|CODE_UNIT_FINISHED<br />
9:19:8.873|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.873|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.873|CODE_UNIT_FINISHED<br />
9:19:8.873|CODE_UNIT_FINISHED<br />
9:19:8.966|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.967|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.967|CODE_UNIT_FINISHED<br />
9:19:8.967|CODE_UNIT_FINISHED<br />
9:19:8.969|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.969|CODE_UNIT_STARTED|[EXTERNAL]createContact<br />
9:19:8.969|CODE_UNIT_FINISHED<br />
9:19:8.969|CODE_UNIT_FINISHED<br />
9:19:8.972|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:8.972|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.84|CODE_UNIT_FINISHED<br />
9:19:9.84|CODE_UNIT_FINISHED<br />
9:19:9.88|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.88|CODE_UNIT_STARTED|[EXTERNAL]territoryID<br />
9:19:9.88|CODE_UNIT_FINISHED<br />
9:19:9.88|CODE_UNIT_FINISHED<br />
9:19:9.98|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.98|CODE_UNIT_STARTED|[EXTERNAL]AE<br />
9:19:9.98|CODE_UNIT_FINISHED<br />
9:19:9.98|CODE_UNIT_FINISHED<br />
9:19:9.102|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.102|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.103|CODE_UNIT_FINISHED<br />
9:19:9.103|CODE_UNIT_FINISHED<br />
9:19:9.103|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.103|CODE_UNIT_STARTED|[EXTERNAL]ISR<br />
9:19:9.103|CODE_UNIT_FINISHED<br />
9:19:9.103|CODE_UNIT_FINISHED<br />
9:19:9.106|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.106|CODE_UNIT_STARTED|[EXTERNAL]PBM<br />
9:19:9.106|CODE_UNIT_FINISHED<br />
9:19:9.106|CODE_UNIT_FINISHED<br />
9:19:9.109|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.109|CODE_UNIT_STARTED|[EXTERNAL]primaryContact<br />
9:19:9.109|CODE_UNIT_FINISHED<br />
9:19:9.109|CODE_UNIT_FINISHED<br />
9:19:9.111|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.111|CODE_UNIT_STARTED|[EXTERNAL]body<br />
9:19:9.111|CODE_UNIT_FINISHED<br />
9:19:9.111|CODE_UNIT_FINISHED<br />
9:19:9.112|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.112|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.112|CODE_UNIT_FINISHED<br />
9:19:9.112|CODE_UNIT_FINISHED<br />
9:19:9.115|CODE_UNIT_STARTED|[EXTERNAL]VForcePage<br />
9:19:9.115|CODE_UNIT_STARTED|[EXTERNAL]error<br />
9:19:9.115|CODE_UNIT_FINISHED<br />
9:19:9.115|CODE_UNIT_FINISHED<br />
9:19:9.158|CODE_UNIT_FINISHED<br />
9:19:9.158|EXECUTION_FINISHED</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Hart</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-567</link>
		<dc:creator>John Hart</dc:creator>
		<pubDate>Tue, 09 Mar 2010 19:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-567</guid>
		<description>The big issue for me is that I can&#039;t get the output of System.debug() statements without also getting METHOD_ENTRY/EXIT spew (as both are in the &quot;Apex Code:DEBUG&quot; level).

I think System.debug() statements should be placed into a separate Log Level than METHOD_ENTRY/EXIT.  Perhaps METHOD_ENTRY/EXIT should be moved into the &quot;Fine&quot; log level.

Note the Log Level-vs-Events issue is confused, because there isn&#039;t an Event for System.debug() statements - they show up at DEBUG, but the System Log&#039;s &quot;Events&quot; list only adds METHOD_ENTRY/EXIT when you go from &quot;INFO&quot; to &quot;DEBUG&quot;.

Also, it would be useful to break METHOD_ENTRY/EXIT into USER_METHOD_ENTRY/EXIT and SYSTEM_METHOD_ENTRY/EXIT.  The first only traces non-System methods; the second traces system methods.  They should be placed in &quot;FINE&quot; and &quot;FINER&quot; levels, respectively.</description>
		<content:encoded><![CDATA[<p>The big issue for me is that I can&#8217;t get the output of System.debug() statements without also getting METHOD_ENTRY/EXIT spew (as both are in the &#8220;Apex Code:DEBUG&#8221; level).</p>
<p>I think System.debug() statements should be placed into a separate Log Level than METHOD_ENTRY/EXIT.  Perhaps METHOD_ENTRY/EXIT should be moved into the &#8220;Fine&#8221; log level.</p>
<p>Note the Log Level-vs-Events issue is confused, because there isn&#8217;t an Event for System.debug() statements &#8211; they show up at DEBUG, but the System Log&#8217;s &#8220;Events&#8221; list only adds METHOD_ENTRY/EXIT when you go from &#8220;INFO&#8221; to &#8220;DEBUG&#8221;.</p>
<p>Also, it would be useful to break METHOD_ENTRY/EXIT into USER_METHOD_ENTRY/EXIT and SYSTEM_METHOD_ENTRY/EXIT.  The first only traces non-System methods; the second traces system methods.  They should be placed in &#8220;FINE&#8221; and &#8220;FINER&#8221; levels, respectively.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary B</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-564</link>
		<dc:creator>Gary B</dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-564</guid>
		<description>&lt;a href=&quot;#comment-562&quot; rel=&quot;nofollow&quot;&gt;@Gary B &lt;/a&gt; 
OK, I take part of that back - it seems (some) method names *are* in the log, apologies!</description>
		<content:encoded><![CDATA[<p><a href="#comment-562" rel="nofollow">@Gary B </a><br />
OK, I take part of that back &#8211; it seems (some) method names *are* in the log, apologies!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary B</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-562</link>
		<dc:creator>Gary B</dc:creator>
		<pubDate>Tue, 09 Mar 2010 12:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-562</guid>
		<description>&lt;a href=&quot;#comment-534&quot; rel=&quot;nofollow&quot;&gt;@Rich Unger &lt;/a&gt; 
Rich, I can understand this is laying the foundations for things to come, and I get an idea of what&#039;s coming down the line... but in the here and now, things appear to have gotten more difficult.

I&#039;m persevering as I don&#039;t want to write it off just because it&#039;s different; similarly, I&#039;m wary of making myself look an idiot because I&#039;ve yet to grok how the feature actually works. But as far as I can tell, names of custom built methods no longer appear in the log output, which is a massive thorn in my side. I&#039;m trying to investigate something in a production environment, updating code and deploying just for the sake of some debug statements is not exactly ideal for me...

And as for the &quot;makes parsing easier&quot; - are there any tools out there at the moment that can help with this with output from Spring 10?

Apologies for shooting the messenger, and I realise I&#039;m partly to blame as I didn&#039;t try it earlier and offer my feedback!</description>
		<content:encoded><![CDATA[<p><a href="#comment-534" rel="nofollow">@Rich Unger </a><br />
Rich, I can understand this is laying the foundations for things to come, and I get an idea of what&#8217;s coming down the line&#8230; but in the here and now, things appear to have gotten more difficult.</p>
<p>I&#8217;m persevering as I don&#8217;t want to write it off just because it&#8217;s different; similarly, I&#8217;m wary of making myself look an idiot because I&#8217;ve yet to grok how the feature actually works. But as far as I can tell, names of custom built methods no longer appear in the log output, which is a massive thorn in my side. I&#8217;m trying to investigate something in a production environment, updating code and deploying just for the sake of some debug statements is not exactly ideal for me&#8230;</p>
<p>And as for the &#8220;makes parsing easier&#8221; &#8211; are there any tools out there at the moment that can help with this with output from Spring 10?</p>
<p>Apologies for shooting the messenger, and I realise I&#8217;m partly to blame as I didn&#8217;t try it earlier and offer my feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Eaton</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-542</link>
		<dc:creator>Mike Eaton</dc:creator>
		<pubDate>Fri, 05 Mar 2010 18:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-542</guid>
		<description>Agree with you 100%.  I feel like we&#039;ve taken a giant step backwards.  Hopefully we&#039;ve hit the bottom of the barrel and can only go up from here.  Keep up the good work!</description>
		<content:encoded><![CDATA[<p>Agree with you 100%.  I feel like we&#8217;ve taken a giant step backwards.  Hopefully we&#8217;ve hit the bottom of the barrel and can only go up from here.  Keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Unger</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-539</link>
		<dc:creator>Rich Unger</dc:creator>
		<pubDate>Thu, 04 Mar 2010 00:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-539</guid>
		<description>BTW, one workaround you can use if you just want to see the System.debug() output is to use the logging levels, e.g.: System.debug(LoggingLevel.INFO, &#039;foo&#039;)
and set your filter for the APEX_CODE category to INFO.  The METHOD events get logged in the DEBUG level, which is one below INFO.</description>
		<content:encoded><![CDATA[<p>BTW, one workaround you can use if you just want to see the System.debug() output is to use the logging levels, e.g.: System.debug(LoggingLevel.INFO, &#8216;foo&#8217;)<br />
and set your filter for the APEX_CODE category to INFO.  The METHOD events get logged in the DEBUG level, which is one below INFO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.tehnrd.com/if-computers-could-barf-salesforce-debug-log/comment-page-1/#comment-535</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 01 Mar 2010 23:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=504#comment-535</guid>
		<description>@Rich

Being easy to parse is nice.... but since I am human, not a computer, I would say being easy to read takes priority for me.

I&#039;m guessing (hoping) now that it&#039;s easy to parse you will have some UI improvements that will make it easy to read.

I&#039;m glad to hear you can see, in it&#039;s current state, it is rough to use and improvements are on the way.</description>
		<content:encoded><![CDATA[<p>@Rich</p>
<p>Being easy to parse is nice&#8230;. but since I am human, not a computer, I would say being easy to read takes priority for me.</p>
<p>I&#8217;m guessing (hoping) now that it&#8217;s easy to parse you will have some UI improvements that will make it easy to read.</p>
<p>I&#8217;m glad to hear you can see, in it&#8217;s current state, it is rough to use and improvements are on the way.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

