Issue
I would like to know if it was possible to stop writing on the error.log file each time someone have a 404 Not Found page.
Solution
In CakePHP 3.x the error handler config has an option for exception classnames that should not be logged.
skipLog
- array - An array of exception classnames that should not be logged. This is useful to remove NotFoundExceptions or other common, but uninteresting log messages.
https://book.cakephp.org/3.0/en/development/errors.html
Answered By - jbe
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.