Re: Handling the error_handler
Thanks, that's helpful. I'll fall back to that position unless I can
find something that doesn't require access to the server.
Chris Morris wrote:
> I have PHP set up to send its error messages through syslog to
> /var/log/user.log
>
> Then, I run the logcheck program hourly from cron, and get the
> error messages emailed to me if any happened since the last run.
>
> If you really needed almost instant notification, you could run
> logcheck every five minutes - it's fairly lightweight.
>
> Logcheck lets you set up a lot of good filtering so you only get
> interesting stuff. I'd recommend using it in combination with a good
> syslog program such as syslog-ng to make filtering easier.
|