Re: Re: poll: howto do informative error handling without the fatalities
| From: | Robert Cummings | Date: | Tue, 09 Feb 2010 14:19:57 +0000 |
| Subject: | Re: Re: poll: howto do informative error handling without the fatalities | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301904@lists.php.net to get a copy of this message | ||
Richard wrote:
Hi,I have something similar... a cron job that checks the error_log file every 10 minutes and sends me the contents if any exist. I also set a special header so I can be sure it's not spam and appropriately route it into my mail folder maze, Much less spammy :) Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHPI have extended the standard exception class to send me an email whenever an exception occurs.I did that once. Once being the operative word... :-) Ended up with tens of thousands of emails one morning. At first I thought... "Wow, maybe my popularity has grown somewhat". But it hadn't.