Re: shell script - disable log output

From: Date: Wed, 09 Mar 2005 21:27:28 +0000
Subject: Re: shell script - disable log output
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-210366@lists.php.net to get a copy of this message
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

« previous php.general (#210366) next »