ELMAH 是否默认实施并启用防洪保护?
谁能确认 Elmah 实现了防洪行为,并且该行为默认启用,或者可以通过 web.config 轻松启用?如果可以,时间阈值是否可配置?
我建议为我们的数据库设置 Elmah 数据库模式,但是如果我们的数十万或数百万 Web 访问者全面发生错误,我们的 DBA 会合理地担心错误日志会消耗大量存储空间。我以为我在 Elmah 中看到了在未达到特定时间阈值时过滤掉重复异常日志的行为,但我无法通过 Google 搜索有关此功能的文档来验证此行为。
Can anyone confirm that Elmah implements flood protection behavior and that this behavior is enabled by default, or is easily enabled via web.config? If so, is the time threshold configurable?
I proposed setting up the Elmah database schema to our database, but our DBA has legitimate concerns about error logs consuming significant storage space if an error occurs across the board for our hundreds of thousands or millions of web visitors. I thought I had seen behavior in Elmah to filter out duplicate exception logs if a certain time threshold had not been met, but I have not been able to validate this behavior doing a Google search for documentation on this feature.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您还没有看过,Scott Mitchell 的文章“Keeping ELMAH's Error Log Size In Check”涉及到这个主题,可能会有所帮助。
http://scottonwriting.net/sowblog/archive/2009/07/10 /163355.aspx
In case you have not seen it, Scott Mitchell's article "Keeping ELMAH's Error Log Size In Check" touches on this subject, and may help.
http://scottonwriting.net/sowblog/archive/2009/07/10/163355.aspx