Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Should error handler pass errors to standard PHP log? #92

Closed
samdark opened this issue Jul 16, 2019 · 2 comments
Closed

Should error handler pass errors to standard PHP log? #92

samdark opened this issue Jul 16, 2019 · 2 comments

Comments

@samdark
Copy link
Member

samdark commented Jul 16, 2019

In Yii 2 errors processed with error handler aren't passed to PHP error log. I wonder if we should keep that behavior or start logging errors additionally with PHP error log.

@rob006
Copy link
Contributor

rob006 commented Jul 16, 2019

Why would you want to have them in PHP error log? Yii 2 error handler is much more powerful. For me PHP error log is more like a last resort - it is used only if something really bad happened and Yii was not able to handle it.

@evil1
Copy link

evil1 commented Jul 19, 2019

Abesolutely true! Yii logs should NOT pass anything to PHP error log.

@samdark samdark closed this as completed Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants