<?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: Beyond Error Logs</title>
	<atom:link href="http://maggienelson.com/2008/12/beyond-error-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://maggienelson.com/2008/12/beyond-error-logs/</link>
	<description>databases and code goodness</description>
	<lastBuildDate>Thu, 01 Apr 2010 23:53:35 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matthew Purdon</title>
		<link>http://maggienelson.com/2008/12/beyond-error-logs/comment-page-1/#comment-34</link>
		<dc:creator>Matthew Purdon</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://maggienelson.com/blog/?p=45#comment-34</guid>
		<description>@Brandon Savage: I completely agree that in production your code should not have any warnings or notices (I always run Strict reporting anyway) But the point of this debug console is not to &quot;log&quot; things, but more to give you insight into what the application is doing. For example, 10 of us work on our little parts and we each do two db queries. It seems like we are writing good code, but when taken together we see in the firebug console that we are actually running 20 queries to build the page. Not cool. Firebug gives us insight into what our app is doing as a whole, in real time. As for logging errors, I don&#039;t know anyone that writes all of their code perfectly on the first attempt. I personally hate having to go in and disable images or view source to try to find the error message or try to pretty-print it. With Firebug you get to easily see the error and the stack trace in a pretty little window.
@Lucas: I totally agree that the building of messages in the console is annoying. There should be an option in FireBug to reset after each request. *shrug*
@AppBeacon: Absolutely, we have a DEBUG=true flag in our dev config and it&#039;s false in the production config. The nice part about the way I did it is that the Firebug writer isn&#039;t even loaded in Production, so it&#039;s very unlikely that you will be sending secret infos to the browser in production.
</description>
		<content:encoded><![CDATA[<p>@Brandon Savage: I completely agree that in production your code should not have any warnings or notices (I always run Strict reporting anyway) But the point of this debug console is not to &#8220;log&#8221; things, but more to give you insight into what the application is doing. For example, 10 of us work on our little parts and we each do two db queries. It seems like we are writing good code, but when taken together we see in the firebug console that we are actually running 20 queries to build the page. Not cool. Firebug gives us insight into what our app is doing as a whole, in real time. As for logging errors, I don&#8217;t know anyone that writes all of their code perfectly on the first attempt. I personally hate having to go in and disable images or view source to try to find the error message or try to pretty-print it. With Firebug you get to easily see the error and the stack trace in a pretty little window.<br />
@Lucas: I totally agree that the building of messages in the console is annoying. There should be an option in FireBug to reset after each request. *shrug*<br />
@AppBeacon: Absolutely, we have a DEBUG=true flag in our dev config and it&#8217;s false in the production config. The nice part about the way I did it is that the Firebug writer isn&#8217;t even loaded in Production, so it&#8217;s very unlikely that you will be sending secret infos to the browser in production.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AppBeacon</title>
		<link>http://maggienelson.com/2008/12/beyond-error-logs/comment-page-1/#comment-33</link>
		<dc:creator>AppBeacon</dc:creator>
		<pubDate>Fri, 19 Dec 2008 19:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://maggienelson.com/blog/?p=45#comment-33</guid>
		<description>FirePHP is a great tool.  The developer, Christoph Dorn, is very easy to communicate with and fixes any bugs pretty quickly.
I would just point out that you must be very careful about preventing output to FirePHP when you deploy the final product.  Imagine the fun people could have with your site if you exposed the underlying database info via a query that was sent to the console.
</description>
		<content:encoded><![CDATA[<p>FirePHP is a great tool.  The developer, Christoph Dorn, is very easy to communicate with and fixes any bugs pretty quickly.<br />
I would just point out that you must be very careful about preventing output to FirePHP when you deploy the final product.  Imagine the fun people could have with your site if you exposed the underlying database info via a query that was sent to the console.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian DeShong</title>
		<link>http://maggienelson.com/2008/12/beyond-error-logs/comment-page-1/#comment-32</link>
		<dc:creator>Brian DeShong</dc:creator>
		<pubDate>Wed, 17 Dec 2008 22:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://maggienelson.com/blog/?p=45#comment-32</guid>
		<description>On a related note, I plan to craft up a Zend_Cache_Profiler proposal very soon that will allow for out-of-the-box Memcached logging to FirePHP, just like Zend_Db_Profiler_Firebug.
We&#039;ve built something similar for another Schematic project, so I&#039;m making it a point to propose these things up as Zend Framework proposals.
Three cheers for ZF and its CLA!
</description>
		<content:encoded><![CDATA[<p>On a related note, I plan to craft up a Zend_Cache_Profiler proposal very soon that will allow for out-of-the-box Memcached logging to FirePHP, just like Zend_Db_Profiler_Firebug.<br />
We&#8217;ve built something similar for another Schematic project, so I&#8217;m making it a point to propose these things up as Zend Framework proposals.<br />
Three cheers for ZF and its CLA!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas</title>
		<link>http://maggienelson.com/2008/12/beyond-error-logs/comment-page-1/#comment-31</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Wed, 17 Dec 2008 20:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://maggienelson.com/blog/?p=45#comment-31</guid>
		<description>We have something similar in our system and we are quite happy with it. We dont log quite as much information though. By default I only log some basics along with failed queries. I will probably add at least some information about how many queries were executed for a total of how long. In debug mode we log a lot more.
This is all fine and dandy, but I see two annoyances at this point:
1) if you do not look at your console for a while, on the next glimpse you will see pages of debug content fly up as the display picks up of all the message you did not look at yet
2) no firephp on MSIE .. well there is firebug-lite and i guess with a bit of hackery, one could define a hidden place in the DOM/JSON response that could then be picked up by a firephp-lite and passed to firebug-lite ..
</description>
		<content:encoded><![CDATA[<p>We have something similar in our system and we are quite happy with it. We dont log quite as much information though. By default I only log some basics along with failed queries. I will probably add at least some information about how many queries were executed for a total of how long. In debug mode we log a lot more.<br />
This is all fine and dandy, but I see two annoyances at this point:<br />
1) if you do not look at your console for a while, on the next glimpse you will see pages of debug content fly up as the display picks up of all the message you did not look at yet<br />
2) no firephp on MSIE .. well there is firebug-lite and i guess with a bit of hackery, one could define a hidden place in the DOM/JSON response that could then be picked up by a firephp-lite and passed to firebug-lite ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Savage</title>
		<link>http://maggienelson.com/2008/12/beyond-error-logs/comment-page-1/#comment-30</link>
		<dc:creator>Brandon Savage</dc:creator>
		<pubDate>Wed, 17 Dec 2008 17:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://maggienelson.com/blog/?p=45#comment-30</guid>
		<description>For me, any application that emits any sort of error message is broken. All errors - including notices - should be gone before code is released. It&#039;s one thing if your app logs warnings and notices due to some actual failure, but it&#039;s just bad coding if you accept warnings and notices as &quot;standard.&quot;
</description>
		<content:encoded><![CDATA[<p>For me, any application that emits any sort of error message is broken. All errors &#8211; including notices &#8211; should be gone before code is released. It&#8217;s one thing if your app logs warnings and notices due to some actual failure, but it&#8217;s just bad coding if you accept warnings and notices as &#8220;standard.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
