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: 2017-10-24 04:36 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:
Status: Open Package: *Configuration Issues
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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).
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 19:01:27 2019 UTC