View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007147 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2020-06-03 11:40 | 2020-06-09 07:55 |
Reporter | henrik.steffen | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 6.2.1 | ||||
Summary | 0007147: OXID default error_reporting includes E_WARNING | ||||
Description | We think Warnings are a little bit too much logging for productive systems. Would be nice if this could be removed from ShopControl.php in _getErrorReportingLevel change $errorReporting = E_ALL ^ E_NOTICE; to $errorReporting = E_ALL ^ E_NOTICE ^ E_WARNING; Or maybe E_WARNING can be active in debug mode, or while not in productive mode? Why is this configured in ShopControl at all, where we can't override it? And at the same time we have error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE); in the bootstrap.php | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Have you tried to set the PSR3 log level in config.inc.php to $this->sLogLevel = 'error'; See: https://github.com/OXID-eSales/oxideshop_ce/blob/master/source/config.inc.php.dist#L39 |
|
sorry, obviously newer versions of OXID eShop solved this issue with PSR-3 logger. |