I hope this isn't too obvious of a question, but I've been looking around 
for the past hour and can't seem to find an answer to this.

Currently I have set the "error_log = syslog" directive in my php.ini file 
(this is on a Redhat 7.2 machine running PHP 4.1.2, and the syslog deamon 
that comes with RH 7.2 (sysklogd-1.4.1-4)) and it's working fine, sending 
all PHP errors to /var/log/messages.

I'd love to be able to send any errors from PHP to a completely separate 
file, say something like /var/log/php_errors.  Does anyone know of a way to 
do this?  I gather it has to do with using /etc/syslog.conf to redirect 
messages from a particular facility to that file, but I have no idea which 
facility PHP uses.  I tried grepping the source but it's a bit over my head 
so I didn't really know what to look for...

I'd be extremely grateful for any assistance...


---------------------------------------------------------------------
Michael Sims
mhsims at midsouth dot rr dot com

"The Web site you seek
Can not be located but
Countless more exist."
---------------------------------------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to