]> granicus.if.org Git - php/commitdiff
Update NEWS, UPGRADING and default php.ini files with syslog changes
authorJakub Zelenka <bukka@php.net>
Sun, 1 Jul 2018 17:27:36 +0000 (18:27 +0100)
committerJakub Zelenka <bukka@php.net>
Sun, 1 Jul 2018 17:27:36 +0000 (18:27 +0100)
NEWS
UPGRADING
php.ini-development
php.ini-production

diff --git a/NEWS b/NEWS
index 77f5fbd1c990c2b4c7de9a8598b73d8370d76714..f751b42136318cdeda114feaab97fb63004b63e3 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@ PHP                                                                        NEWS
   . Fixed bug #76509 (Inherited static properties can be desynchronized from
     their parent by ref). (Nikita)
   . Fixed bug #76439 (Changed behaviour in unclosed HereDoc). (Nikita, tpunt)
+  . Added syslog.facility and syslog.ident INI entries for customizing syslog
+    logging. (Philip Prindeville)
 
 - DOM:
   . Fixed bug #76285 (DOMDocument::formatOutput attribute sometimes ignored).
index adc813349d2ee4ef7e195d9c7c317add367390ea..2e0b8d2dccc68ae5d21f70e21f53adf6696fcd0a 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -372,6 +372,14 @@ Standard:
   . This INI directive has been removed. The value has already been ignored
     since PHP 5.3.0.
 
+- syslog.facility
+  - New INI to set syslog facility which specifies what type of program is
+    logging the message. It is used only when error_log is set to syslog.
+
+- syslog.ident
+  . New INI to set syslog ident string which is prepended to every message. It
+    is used only when error_log is set syslog.
+
 ========================================
 12. Windows Support
 ========================================
index 90fc821802115393dcd5ce13ba6513387b35279c..3f45c084985e2050079daa169c188436c835a9a1 100644 (file)
@@ -577,9 +577,13 @@ html_errors = On
 ;error_log = php_errors.log
 ; Log errors to syslog (Event Log on Windows).
 ;error_log = syslog
-; the next two lines ony happen if the previous line sending errors to syslog
-; has been set as well.
+
+; The syslog ident is a string which is prepended to every message logged
+; to syslog. Only used when error_log is set to syslog.
 ;syslog.ident = php
+
+; The syslog facility is used to specify what type of program is logging 
+; the message. Only used when error_log is set to syslog.
 ;syslog.facility = user
 
 ;windows.show_crt_warning
index a2205b8ed3d755583871c42adcd7aaadf632f163..7cfade42209b15b68709d1dff03dd37961ec5115 100644 (file)
@@ -586,9 +586,13 @@ html_errors = On
 ;error_log = syslog
 ; Log errors to syslog (Event Log on Windows).
 ;error_log = syslog
-; the next two lines ony happen if the previous line sending errors to syslog
-; has been set as well.
+
+; The syslog ident is a string which is prepended to every message logged
+; to syslog. Only used when error_log is set to syslog.
 ;syslog.ident = php
+
+; The syslog facility is used to specify what type of program is logging 
+; the message. Only used when error_log is set to syslog.
 ;syslog.facility = user
 
 ;windows.show_crt_warning