Req #54144 [Asn->Fbk]: add php.ini option for syslog program name
Edit report at https://bugs.php.net/bug.php?id=54144&edit=1
ID: 54144
Updated by: cmb@php.net
Reported by: info at mschuette dot name
Summary: add php.ini option for syslog program name
-Status: Assigned
+Status: Feedback
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: all unix-likes
PHP Version: Irrelevant
-Assigned To: tyrael
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Isn't a call to openlog()[1] a better idea?
[1] <https://www.php.net/openlog>
Previous Comments:
------------------------------------------------------------------------
[2011-03-03 01:18:12] info at mschuette dot name
Description:
------------
It would be useful to configure the syslog program name in php.ini (or httpd.conf for mod_php).
The appended patch adds two config variables 'syslog.program' and 'syslog.pid'.
I am using it for one year now on a shared webserver; it enables me to use syslog for central log
collection, associate logged errors with users, and give all users access to their own log data.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54144&edit=1
Thread (4 messages)