com php-src: Update NEWS, UPGRADING and default php.ini files with syslog changes: NEWS UPGRADING php.ini-development php.ini-production

From: Date: Sun, 01 Jul 2018 17:27:36 +0000
Subject: com php-src: Update NEWS, UPGRADING and default php.ini files with syslog changes: NEWS UPGRADING php.ini-development php.ini-production
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-102352@lists.php.net to get a copy of this message
Commit: ce0721bee5fd7e4a357b893ce6a57521003c3e6d Author: Jakub Zelenka <bukka@php.net> Sun, 1 Jul 2018 18:27:36 +0100 Parents: 2475337bd8a0fad0dac03db3f5e7e9d331d53653 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ce0721bee5fd7e4a357b893ce6a57521003c3e6d Log: Update NEWS, UPGRADING and default php.ini files with syslog changes Changed paths: M NEWS M UPGRADING M php.ini-development M php.ini-production Diff: diff --git a/NEWS b/NEWS index 77f5fbd..f751b42 100644 --- 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). diff --git a/UPGRADING b/UPGRADING index adc8133..2e0b8d2 100644 --- 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 ======================================== diff --git a/php.ini-development b/php.ini-development index 90fc821..3f45c08 100644 --- a/php.ini-development +++ b/php.ini-development @@ -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 diff --git a/php.ini-production b/php.ini-production index a2205b8..7cfade4 100644 --- a/php.ini-production +++ b/php.ini-production @@ -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

« previous php.cvs (#102352) next »