Re: shell script - disable log output

From: Date: Wed, 09 Mar 2005 21:38:34 +0000
Subject: Re: shell script - disable log output
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-210369@lists.php.net to get a copy of this message
Eli wrote:
John Nichel wrote:
Try.... @error_log ( "My error message" ); Don't know if it will work, but it's worth a shot.
Checked. That's not working, since the @ operator prevents logging of errors/warnings/notices that caused by the expression following, but doesn't prevent from the expression to be executed. Besides, I can't change the syntax of the error_log which is used with defaults: error_log(MSG); -thanks, Eli
Try output buffering and dumping the buffer to /dev/null? -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#210369) next »