Hi, I'm getting the following error when trying to use the syslog appender:
PHP Warning: openlog() expects parameter 3 to be long, string given in /home/ctoomey/hg/CouponsCom/ webapp/zend/library/log4php/appenders/LoggerAppenderSyslog.php on line 190 It's passing the string I specified in the log4php.ini -- "LOCAL7" instead of the corresponding int constant value. So looks like this appender can't possibly work when configuring from .ini or .xml files, or otherwise unless you directly call setFacility() with a proper constant value. Is anybody using this appender and if so, how are you getting around this? Also, do any of you know how to configure PHP to send STDERR messages to the Apache error log? When I use the Console appender with either STDERR or STDOUT, my messages don't go into the apache error log and don't appear to be logged anywhere. On the other hand, msgs. I write with PHP's error_log() do go to the error log. Is anybody using the Console appender to successfully write to apache's error log? thx, Chris