Skip to content

Commit ce0721b

Browse files
committed
Update NEWS, UPGRADING and default php.ini files with syslog changes
1 parent 2475337 commit ce0721b

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ PHP NEWS
1212
. Fixed bug #76509 (Inherited static properties can be desynchronized from
1313
their parent by ref). (Nikita)
1414
. Fixed bug #76439 (Changed behaviour in unclosed HereDoc). (Nikita, tpunt)
15+
. Added syslog.facility and syslog.ident INI entries for customizing syslog
16+
logging. (Philip Prindeville)
1517

1618
- DOM:
1719
. Fixed bug #76285 (DOMDocument::formatOutput attribute sometimes ignored).

UPGRADING

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,14 @@ Standard:
372372
. This INI directive has been removed. The value has already been ignored
373373
since PHP 5.3.0.
374374

375+
- syslog.facility
376+
- New INI to set syslog facility which specifies what type of program is
377+
logging the message. It is used only when error_log is set to syslog.
378+
379+
- syslog.ident
380+
. New INI to set syslog ident string which is prepended to every message. It
381+
is used only when error_log is set syslog.
382+
375383
========================================
376384
12. Windows Support
377385
========================================

php.ini-development

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,13 @@ html_errors = On
577577
;error_log = php_errors.log
578578
; Log errors to syslog (Event Log on Windows).
579579
;error_log = syslog
580-
; the next two lines ony happen if the previous line sending errors to syslog
581-
; has been set as well.
580+
581+
; The syslog ident is a string which is prepended to every message logged
582+
; to syslog. Only used when error_log is set to syslog.
582583
;syslog.ident = php
584+
585+
; The syslog facility is used to specify what type of program is logging
586+
; the message. Only used when error_log is set to syslog.
583587
;syslog.facility = user
584588

585589
;windows.show_crt_warning

php.ini-production

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,9 +586,13 @@ html_errors = On
586586
;error_log = syslog
587587
; Log errors to syslog (Event Log on Windows).
588588
;error_log = syslog
589-
; the next two lines ony happen if the previous line sending errors to syslog
590-
; has been set as well.
589+
590+
; The syslog ident is a string which is prepended to every message logged
591+
; to syslog. Only used when error_log is set to syslog.
591592
;syslog.ident = php
593+
594+
; The syslog facility is used to specify what type of program is logging
595+
; the message. Only used when error_log is set to syslog.
592596
;syslog.facility = user
593597

594598
;windows.show_crt_warning

0 commit comments

Comments
 (0)