[email protected]
[Top] [All Lists]

Re: Pipe PHP error output to log4php?

Subject: Re: Pipe PHP error output to log4php?
From: Christian Grobmeier
Date: Sat, 28 Feb 2009 12:52:00 +0100
Hi,

you could try to use the php exception handler.
http://de2.php.net/manual/de/function.set-exception-handler.php
and use the logger there.
Works fine with PHP5.

Cheers,
Christian

On Fri, Feb 27, 2009 at 2:37 PM, Dennis Korbar
<[email protected]> wrote:
> Hello there,
>
> I was wondering, is there an easy way to pipe PHP's error output (like file
> not found, etc.) to log4php?
>
> Best regards,
>
> Dennis

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Pipe PHP error output to log4php?, Christian Grobmeier <=