PHP log will not ignore repeated errors with ignore_repeated_errors = On

依然范特西╮ 提交于 2019-11-29 10:56:04

This directive will only stop the error from being logged again within the same script run. When the same script is run multiple times, you will still see that error every time.

Besides the ignore_repeated_errors, there is also the ignore_repeated_source ini settings. I think that one would work for you and should stop showing the same error repeatedly, when same file is called over and over.

As PHP manual here says for it:

ignore_repeated_source - Ignore source of message when ignoring repeated messages. When this setting is On you will not log errors with repeated messages from different files or sourcelines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!