|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78656 Parse errors classified as highest log-level
Submitted: 2019-10-09 11:53 UTC Modified: 2019-10-09 15:26 UTC
From: erik at coretech dot se Assigned: cmb (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.3.10 OS: CentOS 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: erik at coretech dot se
New email:
PHP Version: OS:


 [2019-10-09 11:53 UTC] erik at coretech dot se
Parse errors are classified as the highest log level (LOG_EMERG). This is problem since Centos/Fedora writes LOG_EMERG messages to all users:

LOG_EMERG is described as: "system is unusable". A php-script with a parse error would not in most cases render the system unstable. At most LOG_ERR or LOG_CRIT would be more suitable. Fatal errors are classified as LOG_ERR. Why not make parse errors the same level?

The source:

The commit that changed this:


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-09 12:52 UTC]
I agree - this setup (by default) will cause any parse-error to be broadcasted (using wall) to all users on a shared development machine
 [2019-10-09 14:30 UTC] erik at coretech dot se
The following pull request has been associated:

Patch Name: Request #78656	Parse errors classified as highest log-level
On GitHub:
 [2019-10-09 15:23 UTC]
-Assigned To: +Assigned To: cmb
 [2019-10-09 15:23 UTC]
Reclassifying as bug, see <>ff.
 [2019-10-09 15:26 UTC]
-Type: Feature/Change Request +Type: Bug
 [2019-10-09 15:26 UTC]
Grr, hit that bug again.
 [2019-10-09 15:31 UTC]
Automatic comment on behalf of
Log: Fix #78656: Parse errors classified as highest log-level
 [2019-10-09 15:31 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 01:01:30 2024 UTC