Hmm since it seems i am the only one wanting to take only the log version
of the messages i think we can leave it like it is now (with log_errors=0).
The reason i wanted log_errors=1 was that i simply wanted one single
additional line in the .diff files whatever is configured elsewhere.
marcus
At 18:50 28.10.2002, Melvyn Sopacua wrote:
At 18:24 28-10-2002, Marcus Börger wrote:
Second i did another commit to direct logs to stderr so the errors are shown
in the output. So i do not see any problem here.
I don't get it - display_errors=on works independantly from log_errors.
Why do we need logs?
[EMAIL PROTECTED] ~
$ /phpcvs/bin/php -f test.php
===> Log errors on
[28-Oct-2002 18:48:21] PHP Notice: Undefined variable: foo in
/home/msopacua/test.php on line 7
Notice: Undefined variable: foo in /home/msopacua/test.php on line 7
/home/msopacua/test.php(7) : Notice - Undefined variable: foo
===> Log errors off
Notice: Undefined variable: foo in /home/msopacua/test.php on line 10
/home/msopacua/test.php(10) : Notice - Undefined variable: foo
[EMAIL PROTECTED] ~
$ cat test.php
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('error_log', '/dev/stderr');
echo "===> Log errors on\n\n";
ini_set('log_errors', TRUE);
echo $foo;
ini_set('log_errors', FALSE);
echo "===> Log errors off\n\n";
echo $foo;
?>
Met vriendelijke groeten / With kind regards,
Webmaster IDG.nl
Melvyn Sopacua
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php