title: Magento's Mage::log() causes white screen
body: <p>When using Magentos log facility Mage::log() it sometimes causes a white screen. No error messages are outputted either to the screen or any of the log files (var/log/system.log, var/log/exception.log ) <br /><br />
  This seems to happen only when I'm trying to log a very large object. for example when I'm trying this</p>
  
  <pre><code>Mage::log(Mage::helper('catalog/category')-&gt;getStoreCategories());
  </code></pre>
  
  <p>inside a block controller it causes a white screen. <br />
  the same happens when I'm trying to log the current product in <code>app/design/frontend/enterprise/default/template/catalog/product/view/media.phtml</code>
  using </p>
  
  <pre><code>Mage::log($_product);
  </code></pre>
  
  <p>Usually Mage::log() works fine and writes everything to the system.log file. <br />
  I was wondering if this has happened to anybody else or if anybody has an idea about why this is happening? </p>