ID:          35777
 Updated by:  [EMAIL PROTECTED]
 Reported By: hans at velum dot net
-Status:      Open
+Status:      Feedback
 Bug Type:    Unknown/Other Function
 PHP Version: 5.1.1
 New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





Previous Comments:
------------------------------------------------------------------------

[2005-12-22 21:12:35] hans at velum dot net

Description:
------------
Bug #28722 still seems to be a bug -- and there is apparently no way to
re-open or comment on a bug that was marked "Bogus" prematurely. 

We see this problem using PHP 5.0.5.  I assume that it's still an issue
for 5.1.1, but I don't have the luxury of running that branch yet.

 * We _are_ using syslog logging from our PHP application
 * We have php errors going to syslog (in php.ini error_log is set to
'syslog')
 * We _always_ call openlog() before any syslog() calls in the PHP
application.

We see garbage in the syslog when PHP errors (e.g. PHP Fatal Error...)
are sent to syslog *without* our application having sent any logs (and
hence without having called openlog()).

The workaround is to always call openlog() in our PHP application
regardless of whether the application actually needs to call syslog()
itself.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35777&edit=1

Reply via email to