php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66413 New ini directive for setting a default syslog facility
Submitted: 2014-01-04 20:15 UTC Modified: 2021-07-07 10:37 UTC
Votes:3
Avg. Score:3.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: bugs dot php at karzyn dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
 [2014-01-04 20:15 UTC] bugs dot php at karzyn dot com
Description:
------------
We can currently configure PHP to log errors to syslog, but we cannot influence which Syslog facility will be used.

It would be nice to add a companion setting, so that one could configure the syslog logging facility. Perhaps like so:
error_log = syslog
error_log_facility = LOG_LOCAL3




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-03 11:23 UTC] tyrael@php.net
-Assigned To: +Assigned To: tyrael
 [2016-06-02 13:05 UTC] ab@php.net
I guess this one can be closed, see https://github.com/php/php-src/pull/1702

Cheers.
 [2017-07-11 04:13 UTC] philipp at redfish-solutions dot com
> I guess this one can be closed, see https://github.com/php/php-src/pull/1702

Looking at this PR, I don't see the connection.

The above PR has to do with priority (severity), not facility.
 [2017-10-24 04:36 UTC] kalle@php.net
-Summary: Setting for default syslog facility +Summary: New ini directive for setting a default syslog facility -Status: Assigned +Status: Open -Assigned To: tyrael +Assigned To:
 [2017-10-24 19:36 UTC] philipp at redfish-solutions dot com
Please see https://github.com/php/php-src/pull/2701 instead as this fixes both facility and priority (severity).
 [2021-07-07 10:37 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-07-07 10:37 UTC] cmb@php.net
And that PR has been merged long ago.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 02 09:01:28 2024 UTC