Req #54144 [Fbk->Asn]: add php.ini option for syslog program name

From: Date: Fri, 15 Oct 2021 17:31:04 +0000
Subject: Req #54144 [Fbk->Asn]: add php.ini option for syslog program name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237222@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54144&edit=1

 ID:                 54144
 User updated by:    info at mschuette dot name
 Reported by:        info at mschuette dot name
 Summary:            add php.ini option for syslog program name
-Status:             Feedback
+Status:             Assigned
 Type:               Feature/Change Request
 Package:            PHP options/info functions
 Operating System:   all unix-likes
 PHP Version:        Irrelevant
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

The context of this feature request was a shared hosting setup.
In that context I wanted a central administrative control and could not trust users (or their
wordpress, phpBB, etc.) to set the correct openlog() parameters.

I assume that use case is no longer relevant today, certainly it is much less common than it used to
be.

IMHO this request ticket can be closed.


Previous Comments:
------------------------------------------------------------------------
[2021-10-13 16:38:57] cmb@php.net

Isn't a call to openlog()[1] a better idea?

[1] <https://www.php.net/openlog>

------------------------------------------------------------------------
[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)

« previous php.bugs (#237222) next »