com php-src: Fix #78656: Parse errors classified as highest log-level: NEWS main/main.c

From: Date: Wed, 09 Oct 2019 15:27:32 +0000
Subject: com php-src: Fix #78656: Parse errors classified as highest log-level: NEWS main/main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108836@lists.php.net to get a copy of this message
Commit: 3164186d53533ac5239790e692b33dd6e56c18df Author: Erik Lundin <erik@coretech.se> Wed, 9 Oct 2019 14:08:22 +0200 Committer: Christoph M. Becker <cmbecker69@gmx.de> Wed, 9 Oct 2019 17:27:32 +0200 Parents: d6ca174d5b82b92a5f28e81e85f45c2892949cf7 Branches: PHP-7.2 PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3164186d53533ac5239790e692b33dd6e56c18df Log: Fix #78656: Parse errors classified as highest log-level Bugs: https://bugs.php.net/78656 Changed paths: M NEWS M main/main.c Diff: diff --git a/NEWS b/NEWS index d2056ad45dc..972a22fc84c 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2019, PHP 7.2.25 +- Core: + . Fixed bug #78656 (Parse errors classified as highest log-level). (Erik + Lundin) + - Iconv: . Fixed bug #78642 (Wrong libiconv version displayed). (gedas at martynas, cmb). diff --git a/main/main.c b/main/main.c index 37d520ec34b..a3fc980b174 100644 --- a/main/main.c +++ b/main/main.c @@ -1131,7 +1131,7 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u break; case E_PARSE: error_type_str = "Parse error"; - syslog_type_int = LOG_EMERG; + syslog_type_int = LOG_ERR; break; case E_NOTICE: case E_USER_NOTICE:

« previous php.cvs (#108836) next »